Running my python project using the pysimplegui module on android (with pydroid3?) - android

i want to run my python project on an android device.
Is there a way to run it on android?
I tried with pydroid3 and the plugininstaller and got the error message:
"gui applications cannot be ran from terminal use ide to run these applications."
But when trying a simple popup window, the gui is working.
Thank you for your help.

Related

Emulator not starting automatically when running react native project in webstrom or VS code terminal

Every time if I want to run RN project I want to start an android studio and start the emulator manually and then go to the terminal and run the RN. if i run the project without starting an emulator it's giving me an error.
error I got when I run the project without starting an emulaotr
from my experience this is expected behavior. On Mac, running an iOS project is able to open the built in emulator, but never on Android. The error is just letting you know there are no devices running.
One helpful thing you can do is create a shortcut or terminal command to open your emulator without opening Android Studio, which is kind of a pain to open just to start an emulator. You can do this using something like what is mentioned here: https://stackoverflow.com/a/33487044/3218158

when i use "tns preview" to start an android emulator i get an error code

i want to preview my nativescript code on an android emulator which as i use the command line which is, i navigated to my app folder which which was successfully but when i type "tns preview" to run an android emulator to see my code in action i get
Found peer TypeScript 3.1.6
#
# Fatal
process OOM in insufficient memory to create an Isolate
#
TypeScript compiler failed with exit code 3221225477
and an android emulator is connected successfully, even nativescript notice the emulator, please what do i do
i have tried the Nativescript sidekick to start the emulator but the nativescript sees the android emulator and it did not report an error indication but when i select the android emulator and click "Run on Device" i get
Build failed. TypeScript compiler failed with exit code 3221225477
even i have tried using my android device for previewing it which i install the nativescript playground & nativescript preview but if i scan the QR Code it is not previewing, please help out
please i need a solution
Preview is to be used with real device for quick testing. The basic idea is to avoid setting up whole iOS / Android SDKs on your local machine.
Produces a QR code which can be used to preview the app on a device without the need to install various SDKs and tools or configure your environment for local iOS or Android development.
To scan the QR code and deploy your app on a device, you need to have
the NativeScript Playground app:
App Store (iOS):
https://itunes.apple.com/us/app/nativescript-playground/id1263543946?mt=8&ls=1
Google Play (Android):
https://play.google.com/store/apps/details?id=org.nativescript.play
If you want to view your app on your android emulator, run the command
'tns run android --emulator'
This is assuming you already have an emulator set up on your machine.
To see a list of your available devices run the command
'tns device'
If you have not set up an emulator follow setup here: https://docs.nativescript.org/tooling/android-virtual-devices

How to attach to an app on android phone from MacOS terminal using lldb?

I am trying to attach to an app running on my android phone using lldb on my MacOSX. This link explains a little but its not clear on how to deploy lldb on my android phone. It explains a little about lldb-server but I cant seem to find that file anywhere. I don't want to use android studio because the app I am trying to attach to is not mine. Does anyone have any ideas?

Android Handshake Error in ADT

I am developing a mobile app that can print a invoice from Bluetooth printer(Model : VPT801). I received the sample code from manufacturer and when i run it with eclipse IDE it can print the invoice. After export it to android project and ran it using Android development studio. But it was not working when i run with Android development studio.
I found the codes which was getting error as mention below.
Sys.Lib_HandShake();
Sys.Lib_GetVersion(version);
Sys is a class which is included in the third party jar file.
I tried with same mobile phone running Android 4.2.2. by using two IDE
Please help me to solve this problem.

pressing debugging button in Qt creator gives unknown error

I have just started internship in a company, they said i will be working on a android project using qt.I need to join them by next week, in meantime i thought of installing qt on my laptop which has Ubuntu 15.04(64-bit).
I downloaded Android SDK, Android NDK, Ant Executeable.
Here is my android settings in qt.
I created a sample app using New Project -> Qt quick Application,it pasted some sample code for hello world when i tried running it it said
could not find the executable please specify one qt
then i opened my project folder and specified a file having name same as my project name,fortunately it worked.
Now when i run the project it displays hello world but when i try to debug it either by attaching external device or through emulator it displays a pop-up which displays a string "Unknown error".
1.Have i specified the settings correctly?
2.how to get rid of this error and start debugging.
can i do debugging on my device in ubuntu.
I am just a beginner plz provide easily understandable answer.

Categories

Resources