App Inventor 应用程序可以在模拟器中运行,但不能在我的实际手机上运行
我已经构建了一个应用程序发明家应用程序,并且在模拟器中运行得很好。当我把它放在手机上时,没有任何代码运行。应用程序不会崩溃,但对象背后的代码不会执行任何操作。我的代码在屏幕加载时运行,但不会触发,并且我的按钮不执行任何操作。
下拉菜单显示菜单项,但仅此而已。
有人有什么想法吗?
I've got an app inventor app built and working pretty well in the emulator. When I put it on my phone none of the code runs. The app doesn't crash, but the code behind the objects doesn't do anything. I've got code which runs on screen load which doesn't fire, and my buttons don't do anything.
The drop downs show the menu item, but that's it.
Does anyone have any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否已将手机与“块编辑器打开”连接?您可以看到正在开发的应用程序的实时预览吗?
您需要在手机上安装一个小应用程序“AppInventorPhoneApp”才能完成此操作...通常会在您第一次将手机与 BlocksEditor 连接时安装该应用程序...
只需将手机连接到 Blocks Editor 即可。块编辑器将自动安装此应用程序。然后就可以在手机中看到预览了。
单击从应用程序发明者下载 apk。然后单击,为手机打包--->下载到连接的手机。
我希望这能解决您的问题。
检查应用程序设置中是否打开了未知来源和开发选项...要使应用程序在没有这些选项的情况下运行,您必须对其进行签名。 (我对此不太确定)..
Have you connected the phone with the Block Editor Open? Can u see live preview of the app being developed?
You need to install a small application "AppInventorPhoneApp" to the phone in-order to accomplishing this... Usually this will be installed when you connect the phone first time with your BlocksEditor...
Just connect the phone to the Blocks Editor. Blocks editor will automatically install this application. Then you can see the preview in Phone.
Click Download apk from app inventor. Then Click, Package for Phone--->Download To Connected Phone.
I hope this solves your issue.
Check if unknown Sources and Development options are turned on in the Application settings.... For an application to run without these, you have to sign it. (I am not sure about this)..