fjellandermedia commented on issue #1078: URL: https://github.com/apache/cordova-android/issues/1078#issuecomment-717932312
Yes, I have it installed. I earlier had build-tools 29.0.3 but I now unistalled it and installed build-tools 29.0.2 instead. It didn't work, however. <img width="948" alt="Skärmavbild 2020-10-28 kl 14 18 20" src="https://user-images.githubusercontent.com/1328227/97441944-94754900-1929-11eb-82e1-b4ea365dfc32.png"> <img width="1001" alt="Skärmavbild 2020-10-28 kl 14 27 02" src="https://user-images.githubusercontent.com/1328227/97441999-a820af80-1929-11eb-9331-1996b63843cf.png"> The first time I try to build after a reinstall of the android platform I get this error message: Gabriels-MacBook-Pro:test gabriel$ cordova build android Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=/Users/gabriel/Library/Android/sdk (recommended setting) ANDROID_HOME=/Users/gabriel/Library/Android/sdk (DEPRECATED) Using Android SDK: /Users/gabriel/Library/Android/sdk BUILD SUCCESSFUL in 1s 1 actionable task: 1 executed Subproject Path: CordovaLib Subproject Path: app Starting a Gradle Daemon, 4 stopped Daemons could not be reused, use --status for details FAILURE: Build failed with an exception. * Where: Build file '/Users/gabriel/Documents/cordova/test/platforms/android/app/build.gradle' line: 20 * What went wrong: A problem occurred evaluating project ':app'. > Uninitialized object exists on backward branch 45 Exception Details: Location: com/android/tools/build/jetifier/core/proguard/ProGuardTypesMap.<init>([Lkotlin/Pair;)V @101: goto Reason: Error exists in the bytecode Bytecode: 0x0000000: 2b12 bfb8 008d 2a2b 4d3a 0d03 3e2c 3a04 0x0000010: bb00 2459 2cbe b700 2cc0 002e 3a05 0336 0x0000020: 0619 043a 0719 07be 3608 0336 0915 0915 0x0000030: 08a2 0037 1907 1509 323a 0a19 0519 0a3a 0x0000040: 0b3a 0e03 360c 190b b600 d419 0bb6 00d7 0x0000050: b800 b6b8 0065 3a0f 190e 190f b900 5902 0x0000060: 0057 8409 01a7 ffc8 1905 c000 5b3a 0e19 0x0000070: 0d19 0ec0 004e b800 6bb7 00b7 b1 Stackmap Table: full_frame(@45,{UninitializedThis,Object[#220],Object[#220],Integer,Object[#220],Object[#46],Integer,Object[#220],Integer,Integer,Top,Top,Top,UninitializedThis},{}) same_frame(@104) * 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 BUILD FAILED in 6s Command failed with exit code 1: /Users/gabriel/Documents/cordova/test/platforms/android/gradlew cdvBuildDebug -b /Users/gabriel/Documents/cordova/test/platforms/android/build.gradle All consecutive times I get the error message in my first post. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
