Android Question B4A Compile error

Nanard

Member
I can't compile without error the basic program displaying Hello, I have the following message:

B4A Version: 11.80
Parsing code. (0.24s)
Java Version: 8
Building folders structure. (0.38s)
Compiling code. (0.46s)
Compiling layouts code. (0.06s)
Organizing libraries. (0.06s)
(Android Support Library)
Compiling resources (0.50s)
Linking resources (2.94s)
Compiling generated Java code. (4.43s)
Finding libraries that need to be dexed. (0.06s)
Dex: B4AShared Error
Error in @d8_arguments.txt:
Error with input file: @d8_arguments.txt
Compilation failed
 
Upvote 0

Nanard

Member
This has happened before and for all projects!
It has never worked!
I redid the installation several times without success.
Now I have the latest SDK and JDK versions.
 
Upvote 0

Nanard

Member
1 - Screenshot of Tools - Paths Configuration dialog
1663425278050.png


2- I have Windows10
3- My project is saved in C:\ANDROID_3
 
Upvote 0

Nanard

Member
I re-compiled with Android-19 and I no longer have the d8_argument error but I have three new errors which are:
error: resource android:style/Theme.Material.Light not found.
error: resource android:style/TextAppearance.Material.Widget.ActionBar.Menu not found.
error: failed linking references.
 
Upvote 0

Nanard

Member
I took 19 because I thought I had to compile with the API corresponding to the smartphone.
With the latest SDK (25.2.5) the maximum API is 29, how can I get API 30.
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Did you made the New Android SDK folder using the parts supplied in the B4A Installation Instructions?
Specifically these
Android SDK
Resources
Be sure to unzip both in the same folder using something like 7Zip.
Avoid Windows embedded feature.
 
Upvote 0
Top