Closed tongkolizer closed 8 years ago
@tongkolizer I see you got it working, what was causing this issue?
If you get an error with You may not have the required environment or OS to build this project
this maybe caused by one of the plugins requiring a new android min sdk version.
I fixed this by adding 'android-minSdkVersion' to 16 in the cordova config.xml
<platform name="android">
<preference name="android-minSdkVersion" value="16" />
Also worth noting if you get 'Unable to add' error .gz': file already in archive
because of a 'jx npm install' then you will have to delete the .gz files before you can compile for Android.
I use the following command to remove all .gz files inside the cordova build directory:
find ./www/jxcore -name "*.gz" -type f -delete
I have pushed an android min sdk fix for 'You may not have the required environment' error into the branch so I think we can close this issue...
Yep Thanks @deadlyfingers!
Hi,
Tried replicating from this branch since I want to use the one with the camera plugin but it seems like I can't build it again. below are the errors that returned while building on Android. I just followed the instructions from readme.