我正试图使用chaquopy
在android studio中集成python代码(对象检测),但在手机上测试时,我只得到了打印结果,没有其他效果
这是我运行logcat
时得到的结果:
{I/zygote64:Dopartialcodecachecollection,code=117KB,data=91KB/zygote64:Aftercodecache
collection,code=117KB,data=91KBIncreasingcodecachecapacityto512KBI/ViewRootImpl:jank_remveInvalidNodeallthenodeinjanklistisoutoftimeV/AudioManager:playSoundEffecteffectType:0I/python.stdout:creation
of
datasetI/python.stdout:W/InputMethodManager:startInputReason=8V/ActivityThread:
Finishing stop of ActivityRecord{e39245f
token=android.os.BinderProxy@f8d4de
com.example.radar/com.example.radar.MainActivityV/ActivityThread:
Handle window ActivityRecord{e39245f
token=android.os.BinderProxy@f8d4decom.example.radar/com.example.radar.MainActivityvisibility:falseE/BpSurfaceComposerClient:
Failed to transact (-1)E/BpSurfaceComposerClient:Failed to transact
(-1)I/ViewRootImpl: jank_removeInvalidNode all the node in jank list
is out of timeW/InputMethodManager: startInputReason = 1}
这就是我运行代码时得到的结果:
{2021-06-28 12:48:18.640 27425-27505/com.example.radarE/AwareLog:AtomicFileUtilsreadFileLines file not exist: android.util.AtomicFile@4f41434
2021-06-28 12:48:20.389 27425-27475/com.example.radar E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist!
2021-06-28 12:48:20.391 27425-27425/com.example.radar E/Minikin: Could not get cmap table size!
2021-06-28 12:52:37.473 27425-27425/com.example.radar E/BpSurfaceComposerClient: Failed to transact (-1)
2021-06-28 12:52:37.474 27425-27425/com.example.radar E/BpSurfaceComposerClient: Failed to transact (-1)}
这是我试图在android studio中集成的python代码,问题似乎来自while循环,因为我在9999年之前获得所有打印,然后应用程序崩溃。我想这是因为我正在制作的视频,但我还不确定
相关问题 更多 >
编程相关推荐