logcat中的错误:E/FragmentManager(7158): No view found for id 0x7f05000d (com.mybiz.mygame:id/fragment_container) for fragment MainMenuFragment{4052d780 #0 id=0x7f05000d}
好的,下面是应用程序的设置方式:
创建了两个vars:
private static View oGoogleGamesView ;
private static RelativeLayout oViewGroup ;
然后在onCreate中:
oViewGroup
function deviceMoved(){
moved = true;
bulb.stop();
playing = false;
}
在我的sketch.js (p5.js)上,这个事件不是在手机上触发的,deviceShaken()也不是。谷歌Chrome版本在80左右左右,我的手机是华为的P20 Lite。我正在使用http,但是https也没有产生任何结果。有人知道为什么或如何解决这个问题吗?