- Notifications
You must be signed in to change notification settings - Fork 741
Setup working environment
Wolfgang Slany edited this page Dec 18, 2020 · 16 revisions
1. Git
Make sure git is on your PATH (Windows, OSX)
MANDATORY: set this git setting: git config --global push.default simple
2. Android Studio
- install Android Studio
3. Clone Repository
- open Android Studio and select
Get from Version Control - sign in with your GitHub account and select
Catrobat/Catroid
OR
- open git bash and run
git clone https://github.com/Catrobat/Catroid.git - open as a project in Android Studio (not import!)
4. Configuration
- wait until Gradle has finished configuration (approx. 1 minute)
- to constantly ignore some configuration files changed by Android Studio run Gradle Task
:gitSkipWorktreeForIntellijConfigFiles
-
ERROR: Module 'catroid': platform 'android-29' not foundGo to Tools -> sdk manager -> install API Level 29 then restart. -
Wrong Build-tool VersionInstall Version 19.1.0 in Tools->Android->SDK Manager -
No Access to SDK-ManagerCreate a new Project, open there the SDK-Manager and Update the Build-tools -
Everything in SDK-Manager is installed, but Gradle says it is missing?you have more than one SDK-Manager installed. Check$PROJECT_DIR/local.propertieswhich one is used -
Cant Update Build-tools on Windowsrun Android Studio as Administrator -
Exception: null: nullUpdate Android Studio to Version 0.6.1 or higher -
Can't create Emulator DeviceSpaces in Emulator name? -
gradle not foundMaybe Gradle is not installed. Then you should use./gradlew assembleDebugorgradlew.bat assembleDebuginstead
- egit (Eclipse extension for git) will ignore some git settings and will make trouble with line endings!
- You should have following path variables defined:
JAVA_HOMEANDROID_HOME- and your git location in
PATH
open git bash anywhere
Set your username:
git config --global user.name "YOUR FIRST_NAME & LAST_NAME"
Set your email address:
git config --global user.email "YOUR EMAIL ADDRESS"
open git bash in Catroid folder
Set your username:
git config user.name "YOUR FIRST_NAME & LAST_NAME"
Set your email address:
git config user.email "YOUR EMAIL ADDRESS"
Verify your configuration by displaying your configuration file:
cat .git/config
