Deploying HaxeFlixel game to Android device - android

I'm making a game for android with HaxeFlixel. I'm using VirtualBox to run Windows 7 on my Mac. After developing and building a game in FlashDevelop, I've navigated to the project folder in the command prompt and run this command:
lime test android
I get:
BUILD SUCCESSFUL:
error: device not found
error: device not found
-waiting for device
I made sure VirtualBox is recognizing my Android device in file explorer and in the devices tab in the context menu. I also ran lime setup and made sure I have all the Android development packages and the same version as my phone.
Any idea why my device isn't found?
Is there another way to deploy my HaxeFlixel project to my Android device?

Install Universal Android ADB Driver will solve the problem.

Related

Is it possible to build Android apps directly on an Android device?

I'm developing an android project on my laptop using android studio, But I have plenty of time in bus or submarine that I dont access to my laptop, but my rooted android tablet is available, I have installed termux app On my tablet, so I have access to linux environment from my phone, but using this app it is not possible to build android studio projects.
One solution is to install one linux distribution like ubuntu on tablet, and install android studio, but running a complete linux on android tablet is too lazy.
There is an app on google play, apk builder but it couldn't build my project and there is some error.
So my question is :
Is There Any Way To Build Android Studio Project On Android Device?

Android Studio Shows No Connected Device When I try to run my app on a real device

I am trying to run an android app i just created using Android Studio IDE. I am using a MTK device, i have downloaded and installed so many adbs but still can't solve the problem. My Laptop is running Windows 7(32Bits).
Use external android emulators like Leapdroid, GenyMotion, etc. I suggest you to install Leapdroid. It is very easy to use.
[U can download Leapdroid by the following link][1]
![1]: https://leapdroid.en.softonic.com/download

Is it possible to create and maintain Android Virtual Devices WITHOUT installing Android Studio?

The development I'm taking on is written in TypeScript/JavaScript, and all the instructions left behind use TNS (Telerik NativeScript) command lines to build, debug and publish the apps, for both Android and iOS.
Setting up my Windows PC with Visual Studio Code, Node.js, NativeScript, and the Android SDK, I have got to the point where I can build the application using > tns build android but I cannot run it as I have no devices.
Going back to the NativeScript instructions, it does clearly say that an Android Virtual Device is needed, but the link takes me to how to setup an AVD using Android Studio.
Well, I do not want to install another IDE just to be able to manage AVD's. I'm familiar with VS Code, all the original development was done in VS Code on iOS, and all the documentation, including screenshots, are from VS Code.
Supposedly, there is an AVDManager.exe in C:\Android\android-sdk\tools\bin\, but there certainly isn't in my installation of the SDK.
> emulator -list-avds shows nothing.
> tns device android --available-devices also lists no available emulators.
Embarcaderos' RAD Studio includes an Android emulator, but I'm using Delphi 10.2 Tokyo for desktop development, so don't have access to that emulator on this machine.
Is there any other way to create an AVD, so that when I type > tns run android from the working folder of the mobile app, it starts the emulator and runs the app within it?
You can download just the SDK command line tools via the android studio download page -> "Get just the command line tools".
The emulator program and the avdmanager should be everything you need to get an emulator up and running.

Unable to deploy to Genymotion device through Android Studio

I'm currently using Genymotion with Android Studio via the Genymotion plugin to try to test and debug my Android applications. I set up the Android Studio Genymotion plugin a while ago, and it worked. However, just now I tried to deploy my application to Genymotion, but after starting my Genymotion device, it did not appear in the ADB deployment list. I have no idea what happened or why. Does anyone have any idea?
By the way, this means I cannot test my application, as I cannot use the regular ADB virtual device set as per this other continuing issue: How to create an Android AVD without HAXM?
Thanks!
It is potentially an incompatibility problem between the adb shipped with Genymotion and the one from your Android SDK.
Turn all your Genymotion devices off.
Then open Genymotion application (not the IDE plugin), go to settings > adb tab > check "use custom adb" and set the path to yout Android SDK.
Then reopen a device and you should see it on your IDE.

Deploy Qt 5 QML application to a real Android device

There are many tutorials how to build an application with Qt for Android.
So I do it in these steps:
Installed Android SDK, NDK, JDK and Apache Ant
Installed Qt 5.2 for Android
Created simple QML application.
Configured virtual device from AVD Manager
I tried to run it and it bringed up Emulator window with my app. OK, it is going as expected.
Now I want to run it on real device. I have Samsung Galaxy Tab 2 10.1 P5100 so I enabled USB debug and connected it to PC.
But when I run the application, in "Select Android device" window I see only emulator, not real device.
So how can I run the application on real device?
The easiest way is to follow the documentation
http://doc-snapshot.qt-project.org/qtcreator-2.8/creator-deploying-android.html
Using Ministro to manage having apk to deploy on real device is especialy a good point.
Hope it helps.

Categories

Resources