Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Build failure #214

Open
kroll-j opened this issue Aug 27, 2023 · 1 comment · May be fixed by #215
Open

Android Build failure #214

kroll-j opened this issue Aug 27, 2023 · 1 comment · May be fixed by #215

Comments

@kroll-j
Copy link

kroll-j commented Aug 27, 2023

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.

@essej
Copy link
Collaborator

essej commented Aug 27, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants