fuse install android should of course have installed supportv4, so that’s strange. However do you use a manually installed Android SDK? And if that’s the case, could you try to find a folder called v4 located here at [AndroidSDK]/extras/android/support
A workaround is to manually install Android Support Library by running uno android, and make sure Extras->Android Support Library is selected before clicking Install Package(s).
I’m having this exact issue. Pops up when I try to preview on my s6 Edge+ and when I try to export to .apk. I’ve tried the above, every reinstalled fuse. Still not working. Using v0.12.2, Win10.
Could you take a screenshot of the Android SDK Manager, with the show installed packages filter ticked, as following. (Run uno android to open the Android SDK Manager)
Absolutely good sir. I’ve even included the error (and two other screen shots). Also, when it states the supportv4.jar not found, I checked that following directory and it is located there. Unsure if that will assist at all.
We think we have determined the cause of the issue. This is a space in path bug from our side. There will be a hotfix release, released in the near future. However in the meanwhile, here is a workaround:
Sorry for my absence in this thread, I haven’t been able to test Fuse the past weeks. I just want to let you know that everything works smoothly after installing 0.12.3 Thanks for your effort and help!
Same issue here not working in mac, could please let me know what i should do here?
I’m using fuse version 0.31.0
Following is the error I’m getting Fuse 0.31.0 (build 8955) Build started: FullCompile Configuring (0.8 s) Compiling syntax tree (2.7 s) Generating code and dataFontconfig error: Cannot load default config file (7.9 s) Building Android app 1/2: libFuseCloud.so 2/2: FuseCloud.apk ERROR: supportv4.jar was not found. Please run 'fuse install android' in your shell and then restart your build ERROR: expected jar at /Users/unnikrishnan.b/Library/Android/sdk/extras/android/support/v4/android-support-v4.jar \## 1/2: libFuseCloud.so \## 2/2: FuseCloud.apk ERROR: supportv4.jar was not found. Please run 'fuse install android' in your shell and then restart your build ERROR: expected jar at /Users/unnikrishnan.b/Library/Android/sdk/extras/android/support/v4/android-support-v4.jar (unknown): E0200: Android build failed ?: Error E0200: Android build failed (0.2 s)
Thanks,
Unnikrishnan B.
Thank for the quick reply! following is the message I’m getting when I do fuse install android
unnikrishnan.b$ fuse install android Fuse 0.31.0 (build 8955) \# Starting JDK installer Verifies that Java Development Kit is installed and valid. Checking if JDK is corrupt Java Development Kit was found here '/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk' \# Done installing JDK \# Starting AndroidSDK installer Verifies that Android SDK is installed and valid. Checking if /Users/unnikrishnan.b/Library/Android/sdk exists. /Users/unnikrishnan.b/Library/Android/sdk was found. Checking if /Users/unnikrishnan.b/Library/Android/sdk/tools exists. /Users/unnikrishnan.b/Library/Android/sdk/tools was found. Checking if Android SDK is corrupt. Android SDK was found here '/Users/unnikrishnan.b/Library/Android/sdk' \# Done installing AndroidSDK \# Starting AndroidSDKPackages installer Verifies that Android SDK Packages is installed and valid. Checking if all required Android components are installed. Android SDK Packages was found here '/Users/unnikrishnan.b/Library/Android/sdk' \# Done installing AndroidSDKPackages \# Starting AndroidNDK installer Verifies that Android NDK is installed and valid. Checking if /Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/AndroidNDK/toolchains exists. /Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/AndroidNDK/toolchains was found. Checking if /Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/AndroidNDK/prebuilt exists. /Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/AndroidNDK/prebuilt was found. Android NDK was found here '/Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/AndroidNDK' \# Done installing AndroidNDK \# Starting Ant installer Verifies that Ant is installed and valid. Checking if /Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/Ant exists. /Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/Ant was found. Checking if Ant is corrupt Ant was found here '/Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/Ant' \# Done installing Ant
Fuse 0.31.0 (build 8955) Build started: FullCompile Configuring (0.8 s) Compiling syntax tree (2.8 s) Generating code and dataFontconfig error: Cannot load default config file (8.2 s) Building Android app 1/2: libFuseCloud.so 2/2: FuseCloud.apk ERROR: supportv4.jar was not found. Please run 'fuse install android' in your shell and then restart your build ERROR: expected jar at /Users/unnikrishnan.b/Library/Android/sdk/extras/android/support/v4/android-support-v4.jar \## 1/2: libFuseCloud.so \## 2/2: FuseCloud.apk ERROR: supportv4.jar was not found. Please run 'fuse install android' in your shell and then restart your build ERROR: expected jar at /Users/unnikrishnan.b/Library/Android/sdk/extras/android/support/v4/android-support-v4.jar (unknown): E0200: Android build failed ?: Error E0200: Android build failed (0.2 s) Build completed in 12.10 seconds 1 error Checking if JDK is corrupt jdk was found. Checking if /Users/unnikrishnan.b/Library/Android/sdk exists. /Users/unnikrishnan.b/Library/Android/sdk was found. Checking if /Users/unnikrishnan.b/Library/Android/sdk/tools exists. /Users/unnikrishnan.b/Library/Android/sdk/tools was found. Checking if Android SDK is corrupt. androidsdk was found. Checking if all required Android components are installed. androidsdkpackages was found. Checking if /Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/AndroidNDK/toolchains exists. /Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/AndroidNDK/toolchains was found. Checking if /Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/AndroidNDK/prebuilt exists. /Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/AndroidNDK/prebuilt was found. androidndk was found. Checking if /Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/Ant exists. /Users/unnikrishnan.b/Library/Application Support/Fusetools/Fuse/Android/Ant was found. Checking if Ant is corrupt ant was found. Build ended fuse: Failed to compile project
It’s weird that you are missing that folder since the fuse install android command explicitly tries to locate that folder, and should have failed. Anyways, you should try to reinstall the sdk, by deleting the folder, and then install it again by running fuse install android.