简体   繁体   中英

Android device Hanging after first activity

I have two activities,One activity will click images in some time interval and process, after 120 seconds then the second activity will start automatically display with the results.I can run the app without any error but after two three times continues running the device gets stuck.

The logcat

waitForCondition(LockCondition) timed out (identity=3,status=0) cpu may be paged try again

after some time " SensorService dropping 1 event on the floor"

What I have to do.?

I have solved the issue by adding a sleep(Thread.Sleep(100)) before starting the second activity. Now it is working Fine

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM