An hour later, I tried to setup the development environment on an M$
Win* computer. Its installed size is over 20GB! After hours of
installation work, I was stuck again on M$ Win*: unlike the Mac
computer, that M$ Win* machine could detect the Android mobile
device and show it in “Computer” within a minute. I added the
following lines into /{AppName}/app/build.gradle
according to
a page of the official website.
1
2
3
4
5
android {
buildTypes {
debug {
debuggable true
}
However, the IDE said that no debuggable device could be found. I guessed that the synchronising application made by the manufacturer of the phone was the cause of that undesirable result. After fetching the application from the website of the phone manufacturer and restarting Android Studio, I could finally run the same application on a real Android device by clicking the little triangle on the top.
]]>