Skip to content

Commit

Permalink
Add instructions on linking the C++ project with gradle if not already
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaschum committed Oct 19, 2017
1 parent f7fc3a8 commit 38bb401
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -24,6 +24,12 @@ Disable activity launch on theme:
- Click on `Edit configurations...`
- Locate "Launch Options" and instead of Default Activity, select Nothing
- This will now push your theme APK to your device without having to worry about build errors

Setting up the C++ native build environment:
- Right click on your project and click `Link C++ Project with Gradle`
- From the drop down, select `ndk-build`
- You will then need to specify the `Android.mk` file, located [here](app/src/main/jni/Android.mk)
- Done, you're ready!

## Step 1: Package Naming
The FIRST thing you need to change is the package identifier (the name the app identifies as) to something more meaningful to you. Open up [build.gradle](app/build.gradle) and look for this line
Expand Down

0 comments on commit 38bb401

Please sign in to comment.