Unable to start activity ComponentInfo{com.example.zxy.myapp/com.example.zxy.myapp.MainActivity}: android.view.InflateException: Binary XML file line #19: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null…
今天在导入一个项目的时候,as报错 Error: A library uses the same package as this project 经过百度Google 发现解决办法:在modules的build.gradle下添加这行代码,如果不成功,试试在app 下添加. android { compileSdkVersion 23 buildToolsVersion "23.0.1" enforceUniquePackageName = false }…