I'm following some tutorial online on pushing kivy files to an android phone. The command:
buildozer android debug deploy run
finishes successfully without any errors, everything checks out fine. Uploading it to my phone, its no where to be found. Even after adding run to the end of the command, my phone just sits idle and nothing happens. Does anyone happen to know where to go to test the app?
buildozer android debug deploy run actually works as intended on my Kivy 2.0.0/buildozer 1.2.0 install, while buildozer android debug logcat deploy run just runs logcat without deploying or running anything.
Anyway, this "alternative" approach to the problem works as well if you don't want to rely completely on buildozer.
Related
Im trying to generate an APK to test my android build, it used to work before, i dont know what went wrong that it stopped working, whenever i try to run on device either on android studio or my own device, it does not build even though its error clean. App actually installs, but when its about to run it closes down and this message appears
Heres what i got from checking the logcat on Android Studio: https://imgur.com/a/FdE4WMo
Try uninstalling the app from the device and then run it again.
The dev / debug build uses an encryption key that's specific to the machine so I think that maybe you are trying to install a different app over the original one?
When I run my ionic app in android device, it shows an error
Application Error
The connection to the server was unsuccesful.(http://localhost:8101)
I run with the command
ionic cordova run android -lc
How i can fix this error? why this error occur?
One option in this scenario is to not pass the -l which is for livereload functionality. So just run:
ionic cordova run android
This will then compile the apk and deploy it to your phone, but won't run a web server to watch for changes.
You can still debug with Chrome in this scenario, but if you make a change to the markup and press save it won't automatically reload the app with that change. You would need to run ionic cordova run android again to rebuild and deploy it to your phone.
On the plus side 1: after the first deploy, subsequent builds are much faster, as a gradle server is started.
On the plus side 2: if you disconnect your USB then you can still use your app. With a livereload deployed app it breaks once you disconnect.
I would actually really like to solve your problem as well. As I move around coworking spaces sometimes it seems that the network is locked down somehow and just is blocking certain ports. I haven't figured out exactly why or if there is a workaround for this.
I am new in React Native. My environment is windows-10. I have created a simple project, it runs android emulator and real device successfully.
If i change something in App.js and build it into real device i don't see any changes, but i can see changes in my emulator.
Can anybody tell me what should i do, to see my change in real device ? I cleaned project and built it again in real device, but it doesn't change it shows the previous output.
I also tried it to uninstall app and execute below commands :
npm run start
react-native run-android
But it shows :
When I run meteor run adroid-device it all works fine:
Meteor builds successfully (It's an empty project so it should do that)
Meteor starts everything
Meteor build the APK
The APK installation window pops up on my device
I install the app and start it
But Meteor never realizes that. I think. It's stuck on Starting app on Android Device
I've tried running it with --verbose but when it comes to the critical point it just says:
(...)
BUILD SUCCESSFUL
Total time: 6.085 secs
Built the following apk(s): evice |
/path/to/meteor/app/.meteor/local/cordova-build/platforms/android/build/outputs/apk/android-debug.apk
Using apk: /path/to/meteor/app/.meteor/local/cordova-build/platforms/android/build/outputs/apk/android-debug.apk
Package name: com.idliu073otjcijgz5qn4
Starting app on Android Device /
[EDIT]
After testing on another phone it worked just fine. Maybe it's a problem with the Huawei phone? On the other phone I did't get a message asking for installation - it just installed the app and opened it.
I am trying to run an android application. The problem is the application gets terminated when choose "run" the app from my IDE. But when I try debugging, it is working fine. App works perfectly fine when I debug. I tried both intellij and eclipse, but same issue. I tried creating signed apk and run, but same issue. How can i resolve this problem.