Reason: the reason for this is activity_ The layout in main.xml conflicts with the code written in mainactivity.java
Solution: check the conflicts in the code and change the conflicting parts to be consistent.
Read More:
- Install Android SDK — stopping ADB server failed (code – 1)
- Android studio reports an error when building AAR for unity
- Flutter development: prompt error parsing localfile when running the project: ‘/ users / xxx / Android / APP / SRC / main / androidmanifest. XML’… Solution
- QT + MySQL generates an EXE file and reports an error “driver not loaded”. Solution steps
- Unit Android converts c# class to JSON file and reports an error
- Vue console reports an error duplicate keys detected: ‘XXXX’. This may cause an update error. Solution
- Android network request framework okhttputils reports an error (okhttp3 cannot be found)
- [actual record of Android stepping on the pit] Android studio reports an error invalid gradle JDK configuration found after importing the project
- Hadoop reports an error. Cannot access scala.serializable and python MapReduce reports an error
- The echots in Vue reports an error. After obtaining the DOM element, the chart can be displayed. The console still reports an error
- Dm7 Dameng database dmrman reports an error OS_ pipe2_ conn_ Server open failed solution
- NPM installs dependent packages and reports an error node gyp rebuild… Solution
- Lamdba in the studio part reports an error. Observe lamdba reports an error but can run
- The python script tool of ArcGIS reports an error: indentationerror: unexpected indent solution
- Solution: vs2017 cannot open header files such as stdio. H main. H
- HTML method IE8 reports an error, IE8 jQuery Ajax obtains static resources reports an error, typeerror denies access
- The file server reports an error of 413, and the file uploaded by nginx reports an error of 413 request entity too large
- Solution: regarding c2039, XXX is not a member of XXX
- Android Studio cannot create a new activity and reports ide internal error occurred
- The java.lang.exceptionininitializererror of mybatis reports an error