Android开发问题汇总(二)
1.Error running app: Default Activity not found
A: 问题的原因是 AndroidManifest.xml 文件配置的有问题。正确的样例如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
2. How to rename java package in Android Studio?
A:Android Studio Rename Package
3.No service of type Factory available in ProjectScopeServices
A:Change maven gradle plugin version to 1.4.1 in project build.gradle file
1 2 3 4 |
|
ReferenceNo service of type Factory available in ProjectScopeServices
4.Android Gradle cannot find symbol class Gson
A:In my case, I just added this line:
1
|
|
on my app build.gradle file.
By now 2.7 is last current available version according to: https://mvnrepository.com/artifact/com.google.code.gson/gson
Please check this repository to be sure you are using last available version.
Reference:Android Gradle cannot find symbol class Gson
继续阅读