Replies: 6 comments 20 replies
-
I'm on Ubuntu 22, so my environment is going to be different but
Build tools depends on the cordova android version... Current version requires Build Tools 32 and I'm using 32.0.0. Additionally, my environment variables looks like:
|
Beta Was this translation helpful? Give feedback.
-
I'm developing on a Mac and my setup is as follows:
Cordova Info:
|
Beta Was this translation helpful? Give feedback.
-
I rebuild my Windows computer and using @ndrake above and now getting this new error. It's gradle related, but no idea what this means FAILURE: Build failed with an exception.
|
Beta Was this translation helpful? Give feedback.
-
For fun, removed cordova platform android and did a reinstall cordova platform add android@10 and noticed that a "Downloading https://services.gradle.org/distributions/gradle-7.1.1-all.zip" Where is this getting installed? I have gradle installed on my computer which is 7.6 and reflected in the PATH, but I'm wondering if they are getting confused with this getting installed somewhere?? |
Beta Was this translation helpful? Give feedback.
-
I really want to get my Windows machine working again. Now this is the latest message I'm going when running the build command. When I pull in into Android studio and run it there, same message. If I do a new/simple helloworld app, it builds fine. Do you think it could be a plugin or some weird tag in my config.xml doing this? Manifest merger failed : Apps targeting Android 12 and higher are required to specify an explicit value for CORDOVA BUILD ANDROID
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger. |
Beta Was this translation helpful? Give feedback.
-
A way to side step issues with build stacks is to use a build service. There are several which support Cordova. It then becomes the problem of the maintainers of the services to keep everything up to date and working together. There are constant changes to hardware, operating systems, versions of build tools, Cordova, plugins, stores, etc. These happen on both your own dev system and on devices. It can be a lot of work keeping up with. If you're like many devs, you only build executables when you are ready to release. If it's been a few months since you used your build stack, it almost certainly will have broken in the meantime. A happy side effect is that you don't need a Mac to build iOS apps. Upload your project to the service and it will return the appropriate IPA. Disclosure: I'm one of the maintainers of VoltBuilder, which is such a service. I developed Cordova apps both locally and with PhoneGap since they started, so I know the pain. |
Beta Was this translation helpful? Give feedback.
-
I'm rebuilding my development machine completely because it seems my Android studio must be corrupted or something. I would love to know what your development setup is to build with CLI11 and Android11. I'm using Windows 10 too.
Gradle version:
Java version and which one, who you got it from:
Android Studio Verson or Build Date :
in Android Studio,
SDK Platforms
Android SDK Build-Tools
any special settings in your config.xml for building
Thanks all 🤓
Beta Was this translation helpful? Give feedback.
All reactions