Android « Różności …

Różności …

16 lutego 2018

Android – enable the developer options. Phone/Tablet

Zaszufladkowany do: Android,Programowanie — Tagi: — Jacek @ 11:02

First, you must enable the developer options:

  1. Open the Settings app.
  2. (Only on Android 8.0 or higher) Select System.
  3. Scroll to the bottom and select About phone.
  4. Scroll to the bottom and tap Build number 7 times.
  5. 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.

7 lutego 2018

Android Studio Font Size

Zaszufladkowany do: Android — Tagi: — Jacek @ 07:35

File -> Settings -> Editor -> General -> Change font size (Zoom) with Ctrl+Mouse Wheel

7 listopada 2017

Android shortcuts

Zaszufladkowany do: Android,Programowanie — Tagi: — Jacek @ 11:23

Ctrl + Shift + Space – code completion

Ctrl + Space – code completion

Ctrl + O – override methods

Shift + F6 – rename classes, methods, variables

30 października 2017

Android cert export

Zaszufladkowany do: Android,Programowanie — Tagi: — Jacek @ 17:42

keytool -exportcert -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore

23 marca 2017

adb android

Zaszufladkowany do: Android — Tagi: — Jacek @ 20:35

./adb root shell

./adb shell

./adb pull ‘/data/data’ /home/jsen/Pulpit/pullAndroid/

19 stycznia 2017

eglsurfaceattrib error 0×3009 – android

Zaszufladkowany do: Android — Tagi: — Jacek @ 18:00

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

30 grudnia 2016

Android emulator

Zaszufladkowany do: Bez kategorii — Tagi: — Jacek @ 15:02

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

10 września 2015

How to set the JDK for Android Studio?

Zaszufladkowany do: Android,Programowanie — Tagi: — Jacek @ 12:47

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

Strona startowa: www.jaceksen.pl