First of all, thank you everyone for your answers! I asked here and there, and the most likely answer I got was that by doing this, I only modified the source code in my development environment, but the source code on the phone or simulator did not change. So in order to print Log in the source code, it is estimated that we need to modify the running environment, that is, the source code in the mobile phone or simulator, but I feel that this is modifying the system. . .
Native?? You need to inherit videoview and rewrite the onMeasure method. Because you changed it in the source code, the source code you just changed will not be compiled when running
First of all, thank you everyone for your answers! I asked here and there, and the most likely answer I got was that by doing this, I only modified the source code in my development environment, but the source code on the phone or simulator did not change. So in order to print Log in the source code, it is estimated that we need to modify the running environment, that is, the source code in the mobile phone or simulator, but I feel that this is modifying the system. . .
Restart genymotion and studio and try it
Check to see if there are no selection conditions
or try unplugging and plugging in the USB
Studio sometimes does not print out the Log, try Toast
Native?? You need to inherit videoview and rewrite the onMeasure method. Because you changed it in the source code, the source code you just changed will not be compiled when running