How to check apk-device compatibility before installing? - Other Operating Systems and Languages

Hi everyone! I'm making a program to extract apk files to sideload them to other devices when needed. I want to check the compatibility between apk files and devices to avoid errors and wasting time pushing incompatible files.
Wich properties should I check before installing? And wich commands should I use?
I'm currently checking abis, sdk version, and app version via
-'adb getprop' for device info
-'adb shell dumpsys package' for installed apps on device
-'aapt dump badging' for apk files in my HDD.
OS: Windows 10 1909 x64
Language: C# .NET
IDE: Visual Studio 2013

Related

android emulator for windows7

is there an android emulatur to Windows7 as can run Android applications?
It's included in the Android SDK, based on QEMU.
I have downloaded the windows version here: http://developer.android.com/sdk/index.html, and installed it, but how did I start the emulator, sow I can install my Android applications ?
http://gupl.dk/64386/
Virtual Devices seems like a very obvious hint, doesn't it
I can not figure out what to do about this error, can not understand what is meant by "Hint: use '@ foo' to launch a virtual device named 'foo'."
I have set up a virtual drive - see attached picture.
invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.
Hint: use '@foo' to launch a virtual device named 'foo'.
http://gupl.dk/64502/
http://gupl.dk/64503/
http://gupl.dk/64504/
You installed in Program Files and the android tools don't like spaces in their path.

[Q] Genymotion and IDA PRO

Guys, help me please configure genymotion and ida properly.
I want to debug an application using no arm hardware.
So i installed genymotion, emulated htc onex android 4.2.2.
After that i installed arm translator.
Now i am trying to connect my virtual device and ida using ADB:
i push android_server file to the system folder
chmod access rights (755)
and try to start server - ./android_server
As a result i receive error saying that the file can not be executed : magic 7f45
As far as i understand android_server is ELF executable and is waiting for arm processor.
So arm translator doesn't work for ida's android_server?

[Q] Building apps with sql (mysql) support problem

Hi,
i`m trying to develop simple ubuntu application. This application should connect to remove mysql server, query and display data in UbuntuListView. Project was created in Qt Creator 3.1.1 as QML app with c++ plugin (cmake).
In my cpp class, i connect to mysql server using QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL"); according to qt documentation.
On my desktop (ubuntu 14.04) application works fine (after installing libqt5sql5-mysql), but when i tried to run this application on my aquaris E4.5 ubuntu edition (using Framework ubuntu-sdk-14.10) i got this error:
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE
Open database: false
I have found package libqt5sql5-mysql 5.3.0+dfsg-2ubuntu9 (armhf binary) for utopic unicorn. In qt creator, under Tools->Options->Ubuntu, I clicked on Maintain button in Framework ubuntu-sdk-14.10 and install that package. But this didn`t solve my problem.
Do yo have any ideas ?
If you want to include said libaries, you need to ship them as .so files in your click package. Don't ask me how to do it (I don't know in this specific case), but simply installing it in your chroot won't work.

Android Studio - JDK - Recommended versions and settings on Windows XP 32-bit?

My aims:
- Use Android Studio to develop a basic Android application - should be possible
- Use Android Studio to back up my physical phone (Hisense phone running Nougat 7.0) and create an emulated version of it running on my PC - should be possible, is it?
My PC:
- Windows XP 32-bit
- Pentium Dual Core T2330 processor NOT supporting IntelĀ® Virtualization Technology (VT-x)
- 2 GB RAM
Questions:
- Are the above aims possible to achieve with my PC?
- If yes, what are the recommended Android Studio and Java SE Development Kit versions/settings to use that work for sure?
Story: I have tried to use Android Studio 3.0.1 with various versions of Java SE Development Kit 8 (including 121, 144, and 152) and various settings/hacks constantly running into various bugs/issues, most of which were seemingly resolved by new settings/hacks, yet I ended up with the same error messages after I have tried everything I have found online that nice people suggested on forums.
I am unable to even compile and run a default Android app, I get these error messages:
Gradle build finished with 2 error(s) in 21s 591ms
Error:java.util.concurrent.ExecutionException: java.lang.RuntimeException: No server to serve request. Check logs for details.
Error:Execution failed for task ':app:mergeDebugResources'.
> Error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: No server to serve request. Check logs for details.
I am unable to run a default-loaded Android Virtual Device, I get this error message:
Emulator: Process finished with exit code -1073741511 (0xC0000139)
I am clueless how to continue. If my aims are possible to achieve, could someone tell me the Android Studio and JDK versions and settings that work 100% under 32-bit Win XP?
Thanks in advance!

Is there an app that allows to pair/ connect to Android 11 device with ADB on iPhone?

Hello,
I have iPhone 12 Pro Max with iOS 14.4.1. I got NewTerm3 installed.
I'm looking to pair/connect to Android 11+ device with ADB (pairing is a new feature for Android 11+ for wireless debugging). I got the android hostname, port and pairing code.
From Windows 11, I use adb.exe from command line (which is part of the Android SDK Platform Tools to download from [https://developer.android.com/tools...er.android.com/tools/releases/platform-tools)) to do that.
In that link, there are 3 options to download:
* Download SDK Platform-Tools for Windows
* Download SDK Platform-Tools for Mac
* Download SDK Platform-Tools for Linux
I download the first option for Windows, that gives me a folder (it's only 6MB) with the adb.exe inside it.
Usage example pair, connect and send commands:
C:\adb>adb pair 192.168.X.X:YYYYY
Enter pairing code: 993914
Successfully paired to 192.168.X.X:YYYYY [guid=adb-XXXXXXX-YYYYY]
C:\adb>adb connect 192.168.X.X:YYYYY
connected to 192.168.X.X:YYYY
C:\adb>adb shell echo hello world
hello world
If I download the second option for Mac, will I be able to run it on NewTerm3 on my iOS or does it require a special conversion to make it compatible?
How can I do the same thing from within an iPhone? Can I just download the adb.exe from the above link and run it in NewTerm3 or it won't run as it's compiled for a different architecture? I see u/saurik provided a link to it here 8 years ago on this post: [
https://www.reddit.com/r/jailbreak/comments/3enybs
This is the link: [http://test.saurik.com/reddit/adb-1.0.31-1](http://test.saurik.com/reddit/adb-1.0.31-1) (but it appears to be broken now)
That was adb-1.0.31-1 which my understanding is it's a 32bit version. Someone replied a year ago asking "Any chance for an updated version of this for arm64e?"
I wonder how Fire TV app allows me to send keyboard input from my phone to my Fire TV Stick, doesn't it also uses ADB since it's running on Android as well? Is the component that the app uses is available somewhere to download from Cydia or Github as an ipa?
Someone suggested to try running adb on iSH app? because Alpine linux supports android-tools package. So I downloaded the iSH Shell app from the App store.
I see someone posted about here:[https://github.com/ish-app/ish/issues/498](https://github.com/ish-app/ish/issues/498)
He used this command and repo:
apk add android-tools --repository=[http://dl-cdn.alpinelinux.org/alpin...//dl-cdn.alpinelinux.org/alpine/edge/testing)
I tried to run this command too, looks like it got installed. When I do adb version it says it's 1.0.41.
But when I try to connect to an ip that's on the local network that's already been paired with, it fails to connect:
Welcome to Alpine!
You can install packages with: apk add <package>
You may change this message by editing /etc/motd.
iPhone:~# adb connect 192.168.X.X:YYYYY*
daemon not running; starting now at tcp:5037*
daemon started successfully
failed to connect to 192.168.X.X:YYYYY
iPhone:~#
I tried to connect with another app that uses adb, and it has no problem to connect with the same iport. So it's only an issue when either running it from iSH Shell app and/or the specific package that I installed for adb. I tried to restart the Android phone but to no avail.
Are you able to connect with it? Any other suggestions/apps that support running adb?
Thank you.
FYI:
Many people as me download latest ADB / Fastboot drivers from here:
SDK Platform Tools release notes | Android Studio | Android Developers
Android SDK Platform-Tools is a component for the Android SDK.
developer.android.com
xXx yYy said:
FYI:
Many people as me download latest ADB / Fastboot drivers from here:
SDK Platform Tools release notes | Android Studio | Android Developers
Android SDK Platform-Tools is a component for the Android SDK.
developer.android.com
Click to expand...
Click to collapse
Ok, that's just a side note for the PC right? I'm talking about the iPhone now...

Categories

Resources