Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reset default app in Android Things OS?

Yesterday I started an Android Things project and I was testing the app using Android Studio. In order to connect to the device using adb.exe, I used the IP of the android device that I saw on the default OS's app (the starting screen). So, after the yesterday's testing it seems that my app is now the default app even if I don't have it connected to the PC.

The problem is that now I cannot see the device's IP address so I can connect to it using adb.exe.

Is there a way of going back to the default OS's app?

PS. The only solution I found is re-installing the Android Things OS.

like image 661
poloapolo Avatar asked Feb 21 '17 07:02

poloapolo


2 Answers

To go back to default android thing logo screen.Uninstall the app using

adb uninstall <pkg name>

If you want to connect to AT without knowing ip use following command

adb connect Android.local

Also you can use serial cable to find ip of AT.

If you install multiple apps.AT will ask for your choice as below enter image description here

like image 131
Pravin Londhe Avatar answered Nov 11 '22 10:11

Pravin Londhe


uninstall the app using adb

adb uninstall <package-name>

if you have connected a keyboard to the raspberry pi board, you can go to the home screen by pressing escape button

like image 41
Rahul Avatar answered Nov 11 '22 09:11

Rahul