proton:android_setupv3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
proton:android_setupv3 [2022/04/06 11:51] – seth | proton:android_setupv3 [2022/08/01 06:06] (current) – seth | ||
---|---|---|---|
Line 5: | Line 5: | ||
This is a lot easier than it used to be. | This is a lot easier than it used to be. | ||
- | * Install Android Studio | + | * Install |
* Make sure everything is working by creating a project using its " | * Make sure everything is working by creating a project using its " | ||
- | * Edit the local.properties file in AndroidGradle dir and change | + | * Edit the local.properties file in AndroidGradle dir and change RTappID |
+ | * local.properties also has settings for your cert and passwords if needed, this is needed to do release builds for testing, even if Google signs the bundle for you later, I find this is needed to test final releases locally anyway | ||
* Edit AndroidGradle\app\src\main\cpp\CMakeLists.txt and add/remove the C++ files used. | * Edit AndroidGradle\app\src\main\cpp\CMakeLists.txt and add/remove the C++ files used. | ||
* You should now be able to click build and play or debug. | * You should now be able to click build and play or debug. | ||
Line 14: | Line 15: | ||
* Notice that PrepareResources.bat is run when you build a project, it copies assets from bin/ | * Notice that PrepareResources.bat is run when you build a project, it copies assets from bin/ | ||
- | * You probably want to edit the App/ | + | * You probably want to edit the app display title and permissions in App/ |
- | * Doing release builds? | + | |
* Note that Main.java is project specific, but the other java files are copied from / | * Note that Main.java is project specific, but the other java files are copied from / | ||
- | * To replace the proton | + | * To replace the app icon, in Android Studio right-click the res folder and select New > Image Asset. |
+ | * In Android Studio, I like to choose Run-> | ||
+ | |||
+ | |||
+ | == Final builds == | ||
+ | |||
+ | I find it easiest to do final builds from the command line. | ||
+ | |||
+ | * Run " | ||
+ | |||
+ | == Errors and problems == | ||
+ | * If you get a weird " | ||
(this is under construction and github may not reflect these latest changes yet) | (this is under construction and github may not reflect these latest changes yet) | ||
proton/android_setupv3.1649245916.txt.gz · Last modified: 2022/04/06 11:51 by seth