Android Question 10.7 BETA unable to compile due to signing error

Status
Not open for further replies.

Sandman

Expert
Licensed User
Longtime User
This post is related to the thread about 10.7 BETA.

I opened a test project that I've been working with all day using 10.6, and tried to run a debug (*) build:
B4X:
B4A Version: 10.70 BETA #1
Parsing code.    (0.00s)
    Java Version: 11
Building folders structure.    (0.00s)
Compiling code.    (0.08s)
Compiling layouts code.    (0.01s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Compiling resources    (0.90s)
Linking resources    (0.65s)
Compiling debugger engine code.    (0.77s)
Compiling generated Java code.    (1.08s)
Convert byte code - optimized dex.    (1.48s)
Copying libraries resources    (0.38s)
ZipAlign file.    (0.03s)
Signing package file (debug key).    Error
Unsupported option: --v3-signing-enabled. See --help for supported options.

I've copied bundletool.jar as instructed:
B4X:
sandman@win:/mnt/c/android/tools/bin$ ls -l
total 24216
-rwxrwxrwx 1 sandman sandman     6742 Jan 19  2020 apkanalyzer
-rwxrwxrwx 1 sandman sandman     2227 Jan 19  2020 archquery.bat
-rwxrwxrwx 1 sandman sandman     3035 Jan 19  2020 avdmanager.bat
-rwxrwxrwx 1 sandman sandman 24760083 Mar  2 15:23 bundletool.jar
-rwxrwxrwx 1 sandman sandman     2215 Jan 19  2020 jobb.bat
-rwxrwxrwx 1 sandman sandman     3839 Jan 19  2020 lint.bat
-rwxrwxrwx 1 sandman sandman     2053 Jan 19  2020 monkeyrunner.bat
-rwxrwxrwx 1 sandman sandman     3042 Jan 19  2020 sdkmanager.bat
-rwxrwxrwx 1 sandman sandman     2189 Jan 19  2020 uiautomatorviewer.bat
sandman@win:/mnt/c/android/tools/bin$

Did I do something wrong, or is this because it's a beta?

(*) Release build give same result
 
Solution
I created c:\android2 and installed "Android SDK + Required Resources" into it.

Updated path in IDE so that android.jar pointed to C:\android2\platforms\android-30\android.jar

Tried to compile, got a very verbose error. Cleaned project. Tried to compile, worked like a charm. Thanks

Sandman

Expert
Licensed User
Longtime User
I created c:\android2 and installed "Android SDK + Required Resources" into it.

Updated path in IDE so that android.jar pointed to C:\android2\platforms\android-30\android.jar

Tried to compile, got a very verbose error. Cleaned project. Tried to compile, worked like a charm. Thanks
 
Upvote 2
Solution

Dave G

Active Member
Licensed User
I had the same issue after upgrading to 10.7 and moving Android and Java directories to new machine. Couldn't get it to work until in used SDK Manager to install android-30, then it worked, even though I didn't change Android.jar in Path Configuration to 30!
 
Upvote 0

f0raster0

Well-Known Member
Licensed User
Longtime User
I created c:\android2 and installed "Android SDK + Required Resources" into it.

Updated path in IDE so that android.jar pointed to C:\android2\platforms\android-30\android.jar

Tried to compile, got a very verbose error. Cleaned project. Tried to compile, worked like a charm. Thanks
thanks very much @Sandman !! months holding off 9.7 :D (so worry ahaho_O )
Today finally I had time to update to v11, your tips make my life so simple!!
It should be added on tips to update B4A :)
 
Upvote 0
Status
Not open for further replies.
Top