Android Build failure
kroll-j opened this issue · comments
I went to sonobus/mobile/Builds/Android
and tried to build the Android APK:
$ ./builddebug.sh
> Task :app:configureCMakeDebug[arm64-v8a] FAILED
C/C++: CMake Error at CMakeLists.txt:66 (add_library):
C/C++: Cannot find source file:
C/C++: ../../../JuceLibraryCode/include_juce_audio_plugin_client_ARA.cpp
C/C++: Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
C/C++: .hpp .hxx .in .txx
C/C++: CMake Error at CMakeLists.txt:66 (add_library):
C/C++: No SOURCES given to target: juce_jni
C/C++: CMake Generate step failed. Build files cannot be regenerated correctly.
include_juce_audio_plugin_client_ARA.cpp
seems to be missing. Or maybe I'm doing something wrong, I couldn't find information on building the Android app.
Sorry I didn't document the android build process. You may need to actually run the juce Projucer (built from deps/juce/extras) for the mobile version, loading the project in mobile/SonoBusMobile.jucer, then Save Project. You will need to change the keystore items beforehand though.
Then going into mobile/Builds/Android, running ./fixup.sh, then ./builddebug.sh (or ./buildrelease.sh).