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
Issues while building the app using Android Studio. #316
Comments
hey @shindek, Just from looking at the logs it seems that Do you manually invoke cd UIKit/samples/getting-started/android
./gradlew assembleDebug |
@michaelknoch Thanks for your reply.
I feel, I am missing something to put in the CMakeLists.txt file, regarding Project directory.
Is there anything I need to change here? |
Actually there is nothing you have to change to make the sample app compile. It seems that you pulled the |
@michaelknoch I have cloned the UIKit project in separate directory(/Users/shindek/experimental/UIKit/). fetched the submodules recursively with command
Then imported the android project in sample folder into Android Studio, and tried to build it.
|
My bad. Looks like with the command
So, I decided to clone each submodules(SDL,swift-android-toolchain and swift-jni) separately inside UIKit project. After cloning all submodules, when I tried to build the app, I got error saying
And after Subsequent clean build I get below error message.
This is where I am stuck now. |
hey @shindek , it surprises me that you are not able to fetch the submodules via The thing is, you said that you cloned all the repos manually, but a few of these dependencies have again other dependencies referenced via git submodules. So I'd highly recommend to fetch all the dependencies automatically via the submodules command. I still believe that one of the missing dependencies is causing the high level build error. Once you fetched all the deps you can run |
closing this because of inactivity |
Current behavior
I have imported the project and android sample app in android studio.
Whenever I try to build the app using command
ANDROID_ABI="armeabi-v7a" CMAKE_BUILD_TYPE="Debug" swift- build.sh
.and build is unsuccessful with below logs.
Expected behavior
Steps to reproduce
Screenshots
Environment
The text was updated successfully, but these errors were encountered: