简体   繁体   English

如何使用Basic4Android导出APK

[英]How to use basic4android exported apk

I am a .net developer but new to android programming. 我是.net开发人员,但刚接触android编程。 I have used basic for android and set to compile & run project into my LG device. 我已经为Android使用了basic,并设置为将其编译并运行到LG设备中。 Everything is good but my question is when I compile and run, everything is done? 一切都很好,但是我的问题是,当我编译运行时,一切都完成了吗?

Can I use the exported application file in the project folder in any device? 我可以在任何设备的项目文件夹中使用导出的应用程序文件吗? I wrote a app and send it to my other galaxy phone, it worked! 我写了一个应用程序,并将其发送到我的其他星系电话,它可以正常工作! But when starting app, it works but first showing message: "Waiting for IDEdebugger to connect", what is this? 但是在启动应用程序时,它可以正常工作,但首先显示以下消息:“正在等待IDEdebugger连接”,这是什么?

thanks for your help. 谢谢你的帮助。

The app will work upon the platform which you choosed when you started your project. 该应用程序将在您启动项目时选择的平台上运行。 See what platform you choosed I remember there are Android , android icecream sandwich ..etc So upon your choice you can know what devices you app will work but take care about the screen dimensions variations because this may cause problems in the way of the design is displayed so you should create scale just to be safe. 看看您选择的平台,我记得有Android,android冰淇淋三明治..etc等。因此,您可以选择要使用的设备,但要注意屏幕尺寸的变化,因为这可能会导致设计方式出现问题。显示,因此您应该创建刻度以便安全。

To get rid of that error you should uncheck Project->Attach Debugger. 要消除该错误,您应该取消选中Project-> Attach Debugger。 Also the file you will upload to Google Play Store or other places will be a .apk file in your objects subfolder. 另外,您要上传到Google Play商店或其他位置的文件也会是对象子文件夹中的.apk文件。 Basically you will need to either setup the Galaxy phone like your LG device or change the project to release and copy the .apk file onto your SD card and manually install it. 基本上,您将需要像LG设备一样安装Galaxy手机,或者更改项目以释放​​.apk文件并将其复制到SD卡上,然后手动安装它。 For more information on your error a quick Google search led to a forum post on Basic 4 Android's forum. 有关您的错误的更多信息,快速的Google搜索导致了Basic 4 Android论坛上的论坛帖子。 The link to that post is http://www.basic4ppc.com/android/forum/threads/waiting-for-ide-debugger-to-connect.13813/ 该帖子的链接为http://www.basic4ppc.com/android/forum/threads/waiting-for-ide-debugger-to-connect.13813/

Before you package your application in b4a for other users or uploading to store, you have to change the compilation mode from debug to release or release(obfuscated). 在将应用程序打包到b4a中以供其他用户使用或上载到存储之前,必须将编译模式从调试更改为发行或发行(混淆)。

If you compile in debug mode, that is when if you share the application to different users, it will always launch with the information waiting for ide debugger. 如果您以调试模式进行编译,即与其他用户共享应用程序时,它将始终与等待ide调试器的信息一起启动。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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