I am attempting to create a new android scanner application that will connect to our API and pass in the scanned barcode, and print the results of the API pull on the screen.
I've created similar apps with other non-DataLogic android devices, so I understand the basics of the app I'm building.
I'm using a Memor 1 Device... While building the app (while the device was plugged into the computer, and android studio was attempting to use the Memor1 as the build device) I came across a lot of build errors about all kinds of android settings not found.
So I decided to take this back to the beginning and start the process from scratch ( I can copy code in as necessary ). So I start a new Empty Activity project, and set the Min SDK to API 27/Oreo 8.1 (which is what this Memor1 Device is running). Once Studio creates the file shells for the project, I right click app, select Open Module Settings, and set the Compile SDK Version to Datalogic:Datalogic SDK v1.27, click Apply and then OK.
I then attempt to build the app (which has no code I've written yet, just the shell stuff that builds fine prior to changing the Compile SDK Version in the module settings.
Here is the build log:
> Task :app:processDebugResources FAILED
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\5a3e51d9d3bf13afa5f76faada65dc67\\transformed\\material-1.4.0\\res\\values\\values.xml","position":{"startLine":1315,"startColumn":4,"startOffset":94375,"endLine":1326,"endColumn":10,"endOffset":95430}}],"original":"ERROR:C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\5a3e51d9d3bf13afa5f76faada65dc67\\transformed\\material-1.4.0\\res\\values\\values.xml:1316:5-1327:11: AAPT: error: style attribute 'android:attr/dialogCornerRadius' not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\1f32e1a2627ee7417c8e63fffba2f220\\transformed\\appcompat-1.3.1\\res\\values-v28\\values-v28.xml","position":{"startLine":4,"startColumn":4,"startOffset":217,"endLine":7,"endColumn":12,"endOffset":442}}],"original":"ERROR:C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\1f32e1a2627ee7417c8e63fffba2f220\\transformed\\appcompat-1.3.1\\res\\values-v28\\values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\1f32e1a2627ee7417c8e63fffba2f220\\transformed\\appcompat-1.3.1\\res\\values-v28\\values-v28.xml","position":{"startLine":8,"startColumn":4,"startOffset":447,"endLine":11,"endColumn":12,"endOffset":684}}],"original":"ERROR:C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\1f32e1a2627ee7417c8e63fffba2f220\\transformed\\appcompat-1.3.1\\res\\values-v28\\values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\348f6d52d990d4fb4fcc5abc17a1cdcd\\transformed\\core-1.6.0\\res\\values\\values.xml","position":{"startLine":159,"startColumn":4,"startOffset":9998,"endLine":190,"endColumn":24,"endOffset":12058}}],"original":"ERROR:C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\348f6d52d990d4fb4fcc5abc17a1cdcd\\transformed\\core-1.6.0\\res\\values\\values.xml:160:5-191:25: AAPT: error: resource android:attr/fontVariationSettings not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\348f6d52d990d4fb4fcc5abc17a1cdcd\\transformed\\core-1.6.0\\res\\values\\values.xml","position":{"startLine":159,"startColumn":4,"startOffset":9998,"endLine":190,"endColumn":24,"endOffset":12058}}],"original":"ERROR:C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\348f6d52d990d4fb4fcc5abc17a1cdcd\\transformed\\core-1.6.0\\res\\values\\values.xml:160:5-191:25: AAPT: error: resource android:attr/ttcIndex not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\5a3e51d9d3bf13afa5f76faada65dc67\\transformed\\material-1.4.0\\res\\values\\values.xml","position":{"startLine":3766,"startColumn":4,"startOffset":240649,"endLine":3770,"endColumn":22,"endOffset":240873}}],"original":"ERROR:C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\5a3e51d9d3bf13afa5f76faada65dc67\\transformed\\material-1.4.0\\res\\values\\values.xml:3767:5-3771:23: AAPT: error: resource android:attr/lineHeight not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\5a3e51d9d3bf13afa5f76faada65dc67\\transformed\\material-1.4.0\\res\\values\\values.xml","position":{"startLine":3771,"startColumn":4,"startOffset":240878,"endLine":3775,"endColumn":22,"endOffset":241081}}],"original":"ERROR:C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\5a3e51d9d3bf13afa5f76faada65dc67\\transformed\\material-1.4.0\\res\\values\\values.xml:3772:5-3776:23: AAPT: error: resource android:attr/lineHeight not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\1f32e1a2627ee7417c8e63fffba2f220\\transformed\\appcompat-1.3.1\\res\\values\\values.xml","position":{"startLine":2796,"startColumn":4,"startOffset":175027,"endLine":2819,"endColumn":24,"endOffset":176224}}],"original":"ERROR:C:\\Users\\CKIRaly\\.gradle\\caches\\transforms-3\\1f32e1a2627ee7417c8e63fffba2f220\\transformed\\appcompat-1.3.1\\res\\values\\values.xml:2797:5-2820:25: AAPT: error: resource android:attr/textFontWeight not found.\n ","tool":"AAPT"}
> Task :app:mergeExtDexDebug
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
> Android resource linking failed
ERROR:C:\Users\CKIRaly\.gradle\caches\transforms-3\5a3e51d9d3bf13afa5f76faada65dc67\transformed\material-1.4.0\res\values\values.xml:1316:5-1327:11: AAPT: error: style attribute 'android:attr/dialogCornerRadius' not found.
ERROR:C:\Users\CKIRaly\.gradle\caches\transforms-3\1f32e1a2627ee7417c8e63fffba2f220\transformed\appcompat-1.3.1\res\values-v28\values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
ERROR:C:\Users\CKIRaly\.gradle\caches\transforms-3\1f32e1a2627ee7417c8e63fffba2f220\transformed\appcompat-1.3.1\res\values-v28\values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
ERROR:C:\Users\CKIRaly\.gradle\caches\transforms-3\348f6d52d990d4fb4fcc5abc17a1cdcd\transformed\core-1.6.0\res\values\values.xml:160:5-191:25: AAPT: error: resource android:attr/fontVariationSettings not found.
ERROR:C:\Users\CKIRaly\.gradle\caches\transforms-3\348f6d52d990d4fb4fcc5abc17a1cdcd\transformed\core-1.6.0\res\values\values.xml:160:5-191:25: AAPT: error: resource android:attr/ttcIndex not found.
ERROR:C:\Users\CKIRaly\.gradle\caches\transforms-3\5a3e51d9d3bf13afa5f76faada65dc67\transformed\material-1.4.0\res\values\values.xml:3767:5-3771:23: AAPT: error: resource android:attr/lineHeight not found.
ERROR:C:\Users\CKIRaly\.gradle\caches\transforms-3\5a3e51d9d3bf13afa5f76faada65dc67\transformed\material-1.4.0\res\values\values.xml:3772:5-3776:23: AAPT: error: resource android:attr/lineHeight not found.
ERROR:C:\Users\CKIRaly\.gradle\caches\transforms-3\1f32e1a2627ee7417c8e63fffba2f220\transformed\appcompat-1.3.1\res\values\values.xml:2797:5-2820:25: AAPT: error: resource android:attr/textFontWeight not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 5s
22 actionable tasks: 22 executed
The contents of my build.gradle file are (untouched by me in any way):
I am attempting to create a new android scanner application that will connect to our API and pass in the scanned barcode, and print the results of the API pull on the screen.
I've created similar apps with other non-DataLogic android devices, so I understand the basics of the app I'm building.
I'm using a Memor 1 Device... While building the app (while the device was plugged into the computer, and android studio was attempting to use the Memor1 as the build device) I came across a lot of build errors about all kinds of android settings not found.
So I decided to take this back to the beginning and start the process from scratch ( I can copy code in as necessary ). So I start a new Empty Activity project, and set the Min SDK to API 27/Oreo 8.1 (which is what this Memor1 Device is running). Once Studio creates the file shells for the project, I right click app, select Open Module Settings, and set the Compile SDK Version to Datalogic:Datalogic SDK v1.27, click Apply and then OK.
I then attempt to build the app (which has no code I've written yet, just the shell stuff that builds fine prior to changing the Compile SDK Version in the module settings.
Here is the build log:
The contents of my build.gradle file are (untouched by me in any way):
Any help on this one would be great!