确定主要内容
1、当发现什么问题都不报错,但是模拟器就是显示不出来的时候
清空一下项目缓存
2、URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)
解决:博客
3、Suggestion: use a compatible library with a minSdk of at most 15,
or increase this project's minSdk version to at least 16,
or use tools:overrideLibrary="com.scwang.smart.refresh.layout.kernel" to force usage (may lead to runtime failures)
4、android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.
5、Session ‘app’: Installation did not succeed. The application could not be installed.
6、java.lang.NullPointerException: Attempt to invoke virtual method ‘void androidx.recyclerview.widget.RecyclerView.setAdapter(androidx.recyclerview.widget.RecyclerView$Adapter)’ on a null object reference
报了空指针的错(最后发现是组件id名字在多个布局文件中重名了。。。)
不要问,问就是很后fei…
博客传送门
解决措施: 找到本来对应的组件,把id名字改一下就好了。
7、INSTALL_FAILED_MISSING_SHARED_LIBRARY问题
库下载不成功
更新中。。。