Home > Mobile >  The Android app flash Studio development problems
The Android app flash Studio development problems

Time:09-20

A new empty project, content is basic no change, add a button to jump to another activity, (p1p2)
When a new activity, the correct XML file (p3) This project contains the Java compilation errors, which can cause rendering failures for the custom views. Fix compilation probles first.
At first I didn't tube, but the app run the build is no problem, when running the app but flash back, there were lots of error logcat, but did not find a solution, (p4)
Excuse me, what is the problem?

CodePudding user response:

Carefully find logcat, there must be an error message

CodePudding user response:

Simple jump error, see if you click control instantiated=no, look at you to jump page registered no, want to jump of the page of operation, to see if the controls inside instantiation

CodePudding user response:

The findViewById written interview in onCreate

CodePudding user response:

reference fei, higher response: 3/f
the findViewById write in onCreate interview

Thanks, problem solved orz

CodePudding user response:

Why do you look at the error is your. Java file compiler error
  • Related