First, you must enable the developer options:
- Open the Settings app.
- (Only on Android 8.0 or higher) Select System.
- Scroll to the bottom and select About phone.
- Scroll to the bottom and tap Build number 7 times.
- Return to the previous screen to find Developer options near the bottom.
Open Developer options, and then scroll down to find and enable USB debugging.
Komentarze są wyłączone
File -> Settings -> Editor -> General -> Change font size (Zoom) with Ctrl+Mouse Wheel
Komentarze są wyłączone
Ctrl + Shift + Space – code completion
Ctrl + Space – code completion
Ctrl + O – override methods
Shift + F6 – rename classes, methods, variables
Komentarze są wyłączone
keytool -exportcert -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore
Komentarze są wyłączone
./adb root shell
./adb shell
./adb pull ‘/data/data’ /home/jsen/Pulpit/pullAndroid/
Komentarze są wyłączone
go to the AVD Manager and change the settings of your device. E.g the on the section “Emulated Performance” -> Graphics to Hardware GLSE 2.0.
source: http://stackoverflow.com/questions/40566645/egl-bad-match-error-android-studio
Komentarze są wyłączone
Cannot launch AVD in emulator.
Output:
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
locate libstdc++.so.6
Komentarze są wyłączone
I can’t compile a default new project for Android 2.1 because(?) the JDK used by Android Studio is JDK 1.7 but it should be JDK 1.6.
To change it I go to File -> Project Structure and try to find the JDK 1.6 location.
http://askubuntu.com/questions/467870/how-to-set-the-jdk-for-android-studio
Komentarze są wyłączone