Gradle build failed

Hi,

I am new in fuse. I am getting problem using gradle build system.

When I tried $ fuse build -t=android -DGRADLE

I got errors like this:

C:/android-ndk-r12/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld.exe: cannot find -lC:/ProgramData/Uno/Packages/UnoCore/0.32.2/prebuilt/Android/lib/armeabi-v7a/libuImage.a C:/android-ndk-r12/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld.exe: cannot find -lC:/ProgramData/Uno/Packages/UnoCore/0.32.2/prebuilt/Android/lib/armeabi-v7a/libjpeg.a C:/android-ndk-r12/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld.exe: cannot find -lC:/ProgramData/Uno/Packages/UnoCore/0.32.2/prebuilt/Android/lib/armeabi-v7a/libfreetype.a

How can I solve this problem.

Hi nadim,

Sorry to hear about the issue but it’s a bit hard to tell what is happening without a little more info. Could you post the whole build-log please?

Cheers

Thanks for quick response :slight_smile:

does it work if not building for preview uno build --target=Android -DGRADLE --run ?

Also, what kind of android device is this? (is it x86?)

I am using emulator.

file:///C:/Users/Nadim/Desktop/Things/Fuse/demoapp/build/Android/Debug/demoapp/app/build/tmp/linkDemoappArmeabi-v7aDebugSharedLibrary/output.txt.

file:///C:/Users/Nadim/Desktop/Things/Fuse/demoapp/build/Android/Debug/demoapp/app/build/tmp/linkDemoappArmeabi-v7aDebugSharedLibrary/output.txt for all output for linkDemoappArmeabi-v7aDebugSharedLibrary. linking libdemoapp.so failed. C:/android-ndk-r12/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld.exe: cannot find -lC:/ProgramData/Uno/Packages/UnoCore/0.32.2/prebuilt/Android/lib/armeabi-v7a/libuImage.a C:/android-ndk-r12/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld.exe: cannot find -lC:/ProgramData/Uno/Packages/UnoCore/0.32.2/prebuilt/Android/lib/armeabi-v7a/libpng.a C:/android-ndk-r12/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld.exe: cannot find -lC:/ProgramData/Uno/Packages/UnoCore/0.32.2/prebuilt/Android/lib/armeabi-v7a/libjpeg.a C:/android-ndk-r12/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld.exe: cannot find -lC:/ProgramData/Uno/Packages/UnoCore/0.32.2/prebuilt/Android/lib/armeabi-v7a/libfreetype.a C:/android-ndk-r12/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld.exe: cannot find -lC:/ProgramData/Uno/Packages/UnoCore/0.32.2/prebuilt/Android/lib/armeabi-v7a/libXliMain.a C:/android-ndk-r12/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld.exe: cannot find -lC:/ProgramData/Uno/Packages/UnoCore/0.32.2/prebuilt/Android/lib/armeabi-v7a/libXliPlatform.a C:/android-ndk-r12/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/…/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld.exe: cannot find -lC:/ProgramData/Uno/Packages/UnoCore/0.32.2/prebuilt/Android/lib/armeabi-v7a/libuBase.a collect2.exe: error: ld returned 1 exit status

Normal build works just fine. But Gradle build fails.

We don’t support Fuse in android emulators.

Sorry about that