android_app_development
Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
Android App Development
12.2.2015
Today the day has come, where I want to do my first experience on writing code for adnroid apps :)
Tool chain
- Android Studio 1.0.1
- USB cable
- Sony Xperia Z1 compact
Setup
I tried to deploy an example app (NetworkConnect), but my phone isn't recognized. There are a view things, that have to be done:
- Enable Developer Settings on the Phone by going to Settings→About Phone and tap 7 times the Build-Number :)
It seems, that this is something, that only developer will find out :) - Allow USB debugging on the phone
- Set …
... permissions on linux:
lusb
find the line with the phone. in my case it is:
Bus 003 Device 007: ID 0fce:61a7 Sony Ericsson Mobile Communications AB
then edit the permissions file:
sudo kate /etc/udev/rules.d/51-android.rules
and add the line
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666", GROUP="plugdev"
- sudo restart udev
(not sure, if this is needed) - reconnect usb cable
- Now we can hit the play-button in the android studio, and select the device!
android_app_development.1424848320.txt.gz · Zuletzt geändert: 2015/02/25 08:12 von karl