Have you check the XML to see if it is valid? I would open it in a text editor and check.
Also the names of your layout elements.
You're probably missing the
<?xml version="1.0" encoding="utf-8"?>
at the top of your .axml file and/or
xmlns:android="http://schemas.android.com/apk/res/android"
in the first element
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.