I already installed "Android SDK" on my windows7 (32 bit) computer. Today i try to install "DroidExplorer.0.8.8.3.x86".
When i try to install it, its installation process request browse correct "SDK Folder". Then i select "Setup android SDK for me". After that i display following error message.
Please help me to install this tool on my PC.
Thanks!
Error message that i receive!
System.UnauthorizedAccessException: Access to the path 'adb.exe' is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
at DroidExplorer.Bootstrapper.Panels.DownloadPanel.SdkPathCleanup() in d:\Development\projects\csharp\droidexplorer\trunk\DroidExplorer\DroidExplorer.Bootstrapper\Panels\DownloadPanel.cs:line 251
at DroidExplorer.Bootstrapper.Panels.DownloadPanel.RunSetup() in d:\Development\projects\csharp\droidexplorer\trunk\DroidExplorer\DroidExplorer.Bootstrapper\Panels\DownloadPanel.cs:line 181
Click to expand...
Click to collapse
Thanks!
After i end, "adb.exe" process using windows task manager, installation process work, and it automatically detect "SDK Folder", but now i receive following error.
System.InvalidOperationException: Cannot start service DroidExplorerService on computer '.'. ---> System.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.Start(String[] args)
at System.ServiceProcess.ServiceController.Start()
at DroidExplorer.Bootstrapper.Panels.StartServicePanel.StartService() in d:\Development\projects\csharp\droidexplorer\trunk\DroidExplorer\DroidExplorer.Bootstrapper\Panels\StartServicePanel.cs:line 53
Click to expand...
Click to collapse
hhhhh same cases... anyone help us please... -_-"
i have ADB already installed & also have android SDK, but after installing DroidExplorer.0.8.8.3.x86 , when its asks for sdk path ,after i browse & locate, it shows me "droid explorer android sdk invalid" error ... any other way to install it ???
No, this program is pretty much worthless and hasn't been supported for years.
Related
Dear All,
I am trying to develop an app which calls a external program (written in C) using Runtime.getRuntime().exec method. This program is basically an gstreamer based rtsp server and it works good if I run from the android command prompt. However, when I run the program from the app, I am getting the following error.
Failed to bind socket (Permission denied)
I had given the network access in my AndroidManifest.xml file.
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
I also tried this
String cmd = "ping localhost";
Runtime.getRuntime().exec(cmd);
for which I got
ping: icmp open socket: Operation not permitted
I also tried to run an another program from an app (which shows an image on the android screen - surfaceflinger sink). So, I included android.permission.ACCESS_SURFACE_FLINGER in the manifest file. However, it wasn't able to display on surfaceflinger sink.
So, I have a feeling that these permissions are not passed on to these external programs. Is there a way to achieve this? I don't want to convert these 'C' based programs to Java. Can anyone please help me out.
Thanks,
Krishnan
I'm trying to make something easy here.
I've followed a guide to install Ubuntu (using Ubuntu Installer) and I now have a shell script.
When I have to start the server, I have to write:
Code:
su
cd /sdcard/ubuntu/
sh ubuntu.sh
Then I have to write in the screen resolution which I write 1190x720 (because of ICS buttons) and then press 2 for GNOME desktop.
So I write:
Code:
su
cd /sdcard/ubuntu/
sh ubuntu.sh
1190x720
2
Then for shutting it down, I have to write "exit".
I want to make an easy application that can do those 5 above steps so I don't have to write those 5 lines. I want the application to have 2 buttons. An START and STOP and then like a status bar which shows if I've started or stopped the server.
How will I be able to do that? Which language should I write it in?
I'm a noob at this, so please take it easy!
Thanks in advance!
You can create a script with those commands, and execute it with Script Manager (this is the easiest way).
If you wish to develop your own app, you'll need:
Basic Java and Android knowledge.
Android SDK, Eclipse and ADT Plugin for Eclipse.
RootTools Library (the easiest way to grant root access to your app and run commands as root).
It's difficult? Nope, add 2 buttons and a message to an app is very easy (using the tools that I listed above).
RoberGalarga said:
You can create a script with those commands, and execute it with Script Manager (this is the easiest way).
If you wish to develop your own app, you'll need:
Basic Java and Android knowledge.
Android SDK, Eclipse and ADT Plugin for Eclipse.
RootTools Library (the easiest way to grant root access to your app and run commands as root).
It's difficult? Nope, add 2 buttons and a message to an app is very easy (using the tools that I listed above).
Click to expand...
Click to collapse
Yes, thank you for answering.
I know about the SDK and Eclipse, but I can't get it to work on my phone.
Can you find me a working guide on how to execute that shell script from Java, please? Thanks
RootTools dude
RoberGalarga said:
RootTools dude
Click to expand...
Click to collapse
So basicly...
Code:
try {
List<String> output = RootTools.sendShell(command);
String[] commands = new String[] { su, cd /sdcard/ubuntu/, sh ubuntu.sh };
List<String> otherOutput = RootTools.sendShell(commands);
} catch (IOException e) {
// something went wrong, deal with it here
}
Guess that's what it's going to look like, aye?
Is there any command on cmd.exe that would allow me to run apk.file after installing it .. like
adb install myapp.apk
This command will only install myapp onto the emulator and I have to manually run this application from the emulator (by performing single click on its icon).
What I want to do is use a command which not only installs the application but also run it or open it in the device after installation.
stiphen said:
Is there any command on cmd.exe that would allow me to run apk.file after installing it .. like
adb install myapp.apk
This command will only install myapp onto the emulator and I have to manually run this application from the emulator (by performing single click on its icon).
What I want to do is use a command which not only installs the application but also run it or open it in the device after installation.
Click to expand...
Click to collapse
http://delphi.org/2013/11/installing-and-running-android-apps-from-command-line/
I think that is what you are looking for
quentin330 said:
http://delphi.org/2013/11/installing-and-running-android-apps-from-command-line/
I think that is what you are looking for
Click to expand...
Click to collapse
after installing Myfile.apk
adb install Myfile.apk
and then try to run it in the device
adb shell am start -n com.other.Myfile.apk/.MainActivity
I get the error
Starting: Intent { cmp=com.other.Myfile.apk/ .MainActivity }
Error type 3
Error: Activity class {com.other.Myfile.apk/com.other.Myfile.apk.MainActivity} does not exist.
whereas Myfile.apk is installed
stiphen said:
after installing Myfile.apk
adb install Myfile.apk
and then try to run it in the device
adb shell am start -n com.other.Myfile.apk/.MainActivity
I get the error
Starting: Intent { cmp=com.other.Myfile.apk/ .MainActivity }
Error type 3
Error: Activity class {com.other.Myfile.apk/com.other.Myfile.apk.MainActivity} does not exist.
whereas Myfile.apk is installed
Click to expand...
Click to collapse
You have to remplace com.other by the name of the package and MainActivity by the name of the activity you want to open
quentin330 said:
You have to remplace com.other by the name of the package and MainActivity by the name of the activity you want to open
Click to expand...
Click to collapse
As in my first post .. I said I install apk file into my device by
adb install myfile.apk
OK it is installed into my device .. Now with command I want to open/run installed apk in my device .. I know i can normally run it by touching its icon .. but i want to do the same through the command ..
stiphen said:
As in my first post .. I said I install apk file into my device by
adb install myfile.apk
OK it is installed into my device .. Now with command I want to open/run installed apk in my device .. I know i can normally run it by touching its icon .. but i want to do the same through the command ..
Click to expand...
Click to collapse
That's what you can do with the commands but you have to know which activity to open and in which package it is
quentin330 said:
That's what you can do with the commands but you have to know which activity to open and in which package it is
Click to expand...
Click to collapse
as i am new .. i only know that i have installed an apk and is installed . now hoe come i know which package is this in and how can i run it
[APKMULTITOOL] Error when signing (sign apk with android market 13 & 7 zip, sign, in)
Hello folks, I have stumbled upon a small problem using APKMultiTool ...
When I try to sign my apk (It's a unity apk meaning I only edited 1 of the dll files.) It fails.
The error it gives me, even in log (26) is useless.
Code:
--------------------------------------------------------------------------
|26-07-2018 -- 13:55:05,73|
--------------------------------------------------------------------------
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
Press any key to continue . . .
I do have the environment path for system, directed to my JDK java path.
The APKMultiTool is opened with Administrator and it's at root(c:\APKMultiTool) <
Heres the code it gives me at the end of option 7: (zip, sign & install)
Code:
Compressing res\layout\com_facebook_placepickerfragment_list_row.xml
Compressing res\layout\com_facebook_search_bar_layout.xml
Compressing res\layout\com_facebook_tooltip_bubble.xml
Compressing res\layout\com_facebook_usersettingsfragment.xml
Everything is Ok
Signing Apk
Usage: signapk [-w] publickey.x509[.pem] privatekey.pk8 input.jar output.jar
"An Error Occurred, Please Check The Log (option 26)"
The error afterwards in the log file and when using 26, is still the same.
Now I'm going to just try to sign the unsigned apk. First the one that was just zipped.
I do this with option 13: Sign apk with android market
Code:
Please make your decision:13
*Notice this option requires you to have the Java JDK installed before this option will function*
*Notice you need to go into your Environment Variables and set the path to your JAVA_HOME*
*For example define it as C:\Program Files\Java\jdk1.6.0_43 as a system variables slot not the User Variables*
Press any key to continue . . .
Signing Apk
Only one alias can be specified
Please type jarsigner -help for usage
"An Error Occurred, Please Check The Log (option 26)"
I am unable to type jarsigner -help, in CMD it does not exist as a command, and in APKMT it closes the prompt. The log file and 26 gives me the same error text so far, meaning it was not even updated.
(Note: I open ALL prompts as Administator, also APKMT)
I am at a complete loss...
Would be really grateful for input :3 thanks a lot.
-EDIT-
Am unable to install unsigned apk on rooted bluestacks 3n device. :3
... I found out that if I used the new tool
https://forum.xda-developers.com/an...tool-apk-easy-tool-v1-02-windows-gui-t3333960
APK Easy Tool, everything became more organized and much easier to work with. I got it working and are happy to say that my first mod was succesful, yay.
Happy modding everyone
For reference, the apk I modded was Galactic Rush for Android
Hello,
I am hacking a GPS device on Android 4.4. I install my apk in priv-app, consequently I have full access to the device.
My problem is that I can't debug the device from Android Studio, every time I want to test my app, I flash the firmware.
I am trying to access the device directly from AndroidStudio, I activate 3 settings :
Settings.Secure.putInt(caniGPSApplication.getapplicationContext().getContentResolver(), Settings.Global.ADB_ENABLED, 1);
Settings.Secure.putInt(caniGPSApplication.getapplicationContext().getContentResolver(), Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 1);
Settings.Secure.putInt(caniGPSApplication.getapplicationContext().getContentResolver(), Settings.Global.INSTALL_NON_MARKET_APPS, 1);
Click to expand...
Click to collapse
The first settings "ADB_ENABLED" allowed me to see the device in AndroidStudio but I can't install the app from AndroidStudio or attach the process (no process is found). When I try to execute/install the apk I have this error :
12/11 18:32:23: Launching 'app' on sgtc G4E.
Installation did not succeed.
The application could not be installed.
List of apks:
[0] 'MYAPK.apk'
Installation failed due to: 'Unknown failure: pkg: /data/local/tmp/MYAPK.apk
Killed'
Click to expand...
Click to collapse
Have you some ideas ? Maybe there is an other setting I have to activate ?
I am thinking about something like "Install via USB" option but I did not found how to set it.
Thank you