Hi,
I am new to Android. I have downloaded and installed every necessary component in order to start working with Android. The issue I am having is that in Command Prompt, anything I type in related to the Android SDK (for example: adb, or even just android) comes back with "Java was not found in your path". Now, I have changed all my PATH variables under "User" to the EXACT locations of where these folders are, but no dice. It keeps telling me to go and edit my PATH variables. Even running SDK Setup, gives me the same error, and tells me to add where Java was found (even though I have!).
I am starting to get really fed up with this, because Eclipse can't find the "jre" folder inside the Java JDK, either (that is, of course, until I copy the entire jre folder inside of the eclipse folder, or put eclipse inside of the JDK folder)...
I just know it shouldn't have to be this tedious to set everything up and I would really appreciate it if someone can help with this
I am running Java JDK 1.6.0_21 (x64), Eclipse Helios (3.6) IDE for Java EE Dev., Android SDK Revision 6, all on Windows 7 Ultimate x64.
Something to note: I have not encountered any problems with Eclipse Helios and the ADT plugin as stated on the Android Developers website. I can use Eclipse and the SDK to create and run the"Hello, Android!" application on the emulators without issues. I just want to be able to run everything from the command prompt, too. Now, if I can only get my phone to be recognized after I get this resolved.
I also need this for rooting and unlocking the phone.
Bazz44 said:
Hi,
I just know it shouldn't have to be this tedious to set everything up and I would really appreciate it if someone can help with this
I am running Java JDK 1.6.0_21 (x64), Eclipse Helios (3.6) IDE for Java EE Dev., Android SDK Revision 6, all on Windows 7 Ultimate x64.
Click to expand...
Click to collapse
In the SDK tools folder go to libs and edit find_java.bat.
Change all instances of %PROGRAMFILES% to %PROGRAMFILES(X86)% .
I had to do this for my SDK.
Your java will probably still resides in c:\program files (x86)\java or the likes.
To test if it works open DDMS.bat(May need to open twice).
I ran "ddms.bat" before changing the "find_java.bat", and it just came up that it could not find the path > checking if it is installed elsewhere. I did what you suggested (I found three instances of where I needed to add the (x86)), ran "ddms.bat", and got the same error. However, this time it also opened the Dalvik Debug Monitor. Eclipse still won't run without its own copy of the "jre" folder from the JDK at the same folder level as the "eclipse.exe"...
any luck with this? I'm also having same trouble in Win7x64
Gonna give in otherwise n reboot my ubuntu system see if thats any easier
i know i can't use OpenJDK or something so ill have to swap that but fingers crossed
=]
Solution
Install any JRE Java, Copy the java folder at program files/Java/jre6 Paste it inside MOTODEV´s folder program files/Motorola/MOTODEV Studio for Android 1.2/ and rename it to jre
Done
Edited the eclipse .ini works a treat now wi java x64...
time to whip out the olde java books from college an see if any of it comes back to me
Is it possible to install the android sdk platforms & extras offline manually, my only net atm is my desire tethered, unlimited data but I don't wanna push my luck
I'm not sure if it may be related or not but according to the android dev page, you should be using eclipse 3.5 because they have been having problems with 3.6
May or may not be related but worth a shot.
I'm not sure if it may be related or not but according to the android dev page, you should be using eclipse 3.5 because they have been having problems with 3.6
May or may not be related but worth a shot.
i need help http://forum.xda-developers.com/showthread.php?p=24028502#post24028502
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Make nu system path
Try making new system path named PATH (all caps). its an issue with Win7 64. Hope it helps. and yes Installing the Android sdk is a giant head****. I have it all put as fare as the link to abandroid put it doesn't make plug-in available in the plug-in list. I'm at a loss...
As i said, hope it works.
Having just had this issue myself on a new install of eclipse, the sdk and adt, here's what finally helped me: making sure the java\sdk1.6.x.x\bin directorywas in front of the windows\sys32 directory in the PATH statement of the environmental variables.
I did already add the JAVA_HOME and such, but the above was the step that finally allowed me to finish the setup.
Fix for Win7 64bit and Android SDK/Java install
MacDegger said:
Having just had this issue myself on a new install of eclipse, the sdk and adt, here's what finally helped me: making sure the java\sdk1.6.x.x\bin directorywas in front of the windows\sys32 directory in the PATH statement of the environmental variables.
I did already add the JAVA_HOME and such, but the above was the step that finally allowed me to finish the setup.
Click to expand...
Click to collapse
I had to finally use JAVA_HOME C:/PROGRAM FILES/JAVA/JDK1.7.0_05 That finally allowed me to instal the Android SDK
best answer
rowdyvc said:
I had to finally use JAVA_HOME C:/PROGRAM FILES/JAVA/JDK1.7.0_05 That finally allowed me to instal the Android SDK
Click to expand...
Click to collapse
Thank you you solve my prob man
I got locked out of my android phone (samsung galaxy s 2) and am trying to make a backup copy of all my stuff before I do a factory reset. I found this tutorial:
http://forum.xda-developers.com/show....php?t=1420351
It seems over my head but I`m desperate to keep my files. So I`ve installed JDK, Eclipse, and the SDK starter pack. After getting the starter pack I downloaded all the recommended stuff and also the Android SDK Tools and Android SDK Platform-Tools. I also got the ADT plugin for Eclipse. After that I think I`ll have everything I need for the tutorial but I`m not sure could someone experienced with ADB let me know.
Also could someone help me start this tutorial. It just starts by saying open a command prompt. How do I do that?
The link to the tutorial is broken. In your post I noticed you did not mention whether of not you also installed the driver for phone and also whether or not you have enabled usb debugging on your phone.
Anyways to answer your question if your on windows 7 hit the start button and where it says search programs and files type in cmd and hit enter. I think that also works in vista. If your on xp just click run under accessories and type cmd.
Hello first,
I registered this forum, I would like to edit APK, later to write myself, so it might not work quite so .. (Create a custom Vlt. later times in Rome, but feels that the current problem to me ...)
Here's what I've done:
JRE and JDK = Install (Win 7 32 bit)
Android SDK is installed with usb_driver, Android 2.3.3, 4.0.3 Android
When the system variable "Path" is the Java platform and android-sdk/tools and integrated tools ..
ADB Multi-Tool installed
The following mobile phone is available:
HTC HD with 4.7 IceColdSandwich AOKP
I enabled debugging on the Android phone, but when I "adb devices" comes eingebe only "List of devices attached" and ends ..
Vlt. can someone help me just because I think hitch at several corners ..
Example: I have done the TeamViewer.apk from Market on the PC in the "modding" folder from the APK multitool. Did the project selected and attempts to decompilen, worked ... Then, without which I had changed something, I immediately pressed compiling and there were thousands of errors ...
I am grateful for the help ... Since I'm new to the forum and am in the wrong area ... please move ...
In advance I thank you before all who want to help me ..
Best regards,
max
P.S. Sorry for bad English, no time so i used google translator..
THESE STEPS HAVE BEEN SIMPLIFIED FOR YOU~! FORGET THIS MESS, PLEASE CHECK OUT THE NEW WINDOWS 11 ISO I MODDED FOR ALL OF US
JROM: WINDOWS 10 AND 11 LITE ISO PLUS WIN11R00T W\ WSA BUNDLE
THIS IS OUTDATED, SEE THE NEW ARTICLE FOR A PREMADE ISO: https://forum.xda-developers.com/t/how-to-make-a-lite-or-modded-windows-iso-tool-premade-lite-win-10-iso.4496967/ ======================================================= JROM: WINDOWS 10...
forum.xda-developers.com
**************************************************************
Thanks to the Community as this Would Not Be Possible Without All of you! Refs At bottom..
*************DISCLAIMER************************************
This build is ONLY for developers and pen-testers.
I am Not responsible if you soft brick your system.
This is all Literally Brand New, Windows 11 Is Not Fully released.
If you prefer to not install this on your direct OS,
Give me a couple days to get you all a Virtual Machine Preloaded.
Also There Is No Voice Over.
The Video Is Intentionally fast, concise, and to the point.
You Will have to Read the Guide.
If you want Easy Mode, Please wait for my Virtual Machine Image release In a day or two.
Also, I expect You to Know How to Recover Your Own Files should Anything Go Wrong.
******AGAIN, WARNING, ONLY THE SUPERNERDS SHOULD INSTALL THIS.**********
Video Proving Concept, Intended to teach slowly by going fast:
Written Guide:
Download Win11Root:
MEGA:
1.22 GB file on MEGA
mega.nz
NOTE: I'M SILLY AND I FORGOT TO UPLOAD THE .DEV FOLDER. HERE IS THE DEVELOPER ISO:
How To Download Windows 11 Developer ISO
THIS THREAD IS OLD AS HECK, BUT WILL TEACH YOU SOME THINGS, IF YOU LISTEN~! Hello, there are three ways to download Windows 11 ISOs, the first and most obvious way being through Microsoft themselves. But what do you do when their site is...
forum.xda-developers.com
*How to Unlock Windows Insider*
Open Settings.
Open Windows Update.
Open Windows Insider Program.
Choosing your data settings - Windows Insider Program
Choosing your diagnostic data settings for flighting
docs.microsoft.com
*Installing the Developer's PreRelease Win 11 Copy*
Open WIN11ROOT.
Open .devimage
Run the Win 11 dev installer through the ISO file..
Wait for reboot...
*Enabling Developer Mode On Windows*
Open Settings.
Scroll Down to Privacy Settings.
Open, then click on "For Developers".
Turn on Developer mode.
*First Step to Setting Up the Debugger*
In Developer Mode:
Select Device Portal.
Let Windows Install the Toolset.
Turn Authentication OFF.
Scroll down to device discovery and turn it on.
*Install Visual Studio*
download visual studio:
Download Visual Studio Tools - Install Free for Windows, Mac, Linux
Download Visual Studio IDE or VS Code for free. Try out Visual Studio Professional or Enterprise editions on Windows, Mac.
visualstudio.microsoft.com
Run .vs_community__559787300.1638713783.exe
---edit I left this out, download visual studio off microsoft's website
---This is necessary to download the dependencies *aka* "Features"
During the Install:
Switch to Workloads tab.
Select:
1- Universal Windows Platform development
select all options except win 10
2- .NET Desktop Development
3- Desktop development with C++
--------NOTE-------------
IT IS NOT NEEDED TO DL "EVERYTHING" AS I SAID BEFORE, THIS BUILD
IS FOR THE DEVS AND PENTESTERS... TO UNLOCK ALL YOUR "TOOLS"
*Installing the Dependencies*
Hit the Windows key on your keyboard.
Search for Features.
Go into feature management.
Turn on EVERYTHING!
*Installing the Android Subsystem*
Right Click android.Msixbundle
Select Copy Path
(android.Msixbundle is the android subsystem downloaded from the microsoft store)
Right Click 0000-ADB.exe
(NOTE THAT THE ADB IN WIN11ROOT IS A /SHORTCUT/ FOR POWERSHELL 7... YOU NEED TO REPLACE IT)
To replace the shortcut, go into the powershell Folder in WINROOT
Hit ctrl + F to "find" pwsh
Right Click and create a new shortcut.
Title it ADB to make it easier to know what it is going to be used for...
Paste the Shortcut in the main folder of WINROOT...
Now right click... Select run as Admin.
Type:
Add-AppxPackage and paste android.Msixbundle's path
The code is in this file, fyi:
00000-InstallAndroidSubsystem.txt
*Programming The Android Subsystem*
Press the Windows Key.
Search Android.
Open Windows Subsystem For Android Settings.
Under Subsystem Resources Select Continuous.
Turn Developer Mode On.
Then Click Manage Developer Settings.
Refresh your IP Address.
Copy your IP Address.
*Setting Up The "ADB Tools"*
Open WIN11ROOT Folder.
Open AdbConnect.txt
Paste your PC's Ethernet IP address from Dev Settings.
Save the file, then copy the full code.
Open 0000-ADB.exe
Paste:
adb connect 192.168.0.5:50080
(Replace 192.168.0.5:50080, with Your Ethernet IP..
From Developer's options...")
*Installing Apps Through ADB*
Open WIN11ROOT Folder.
Open .0-DROP APPS HERE
Drop in Any app or use the Testers..
Right Click the App you want to install..
Click Copy As Path
Open 0000-InstallApps.txt
Paste the path at the end of the command..
For instance:
adb install "C:\Users\anife\Desktop\WIN11ROOT\.0-DROP APPS HERE\rootexplorer.apk"
adb install "whatever else you like"
Replace the quotes with your app's path..
Save The File For Troubleshooting Purposes
Right Click 0000-ADB.exe
Run as admin..
Paste in commands for your apps one at a time.
Obviously this can all be streamlined, but this is a proof of concept demonstration to
help get the devs and pentesters rooted as intended by microsoft through their Insider Program.
Now the easy part!
*Installing Kali Linux*
Open WINROOT Folder.
Right Click ADB.exe
Select Run As Admin
Paste this code to install Windows Subsystem for Linux:
wsl --install -d kali-linux
if you have trouble with your linux install,
wsl –set-default-version 1
will correct
Download any app on the playstore, Without installing GMS, GAPPS, AMAZON, Or any other App Store:
Download Any Apk Off The Playstore Without installing Google, AMAZON, or Any other APP Store
EDIT-- This post is super old (but still works). Another method (maybe better for your use case?) is the Aurora store. Please see the COMMENTS SECTION. How To Download any app on the playstore, Without installing GMS, GAPPS, AMAZON, Or any...
forum.xda-developers.com
REFS <3 SHOUT OUT TO THEIR FAMILY:
I would like to thank my brilliant friend, Ron Lovell. He was the one to first tell me about Windows Insider, about Android apps being able to be run on them, and is currently teaching me new methods for all sorts of things. Together and with the rest of You, we can continue to Build the Future. "It takes a team"
Tipped me off I forgot to get the Dev edition. Hah
Showed me the amazing matrix, linuxesque way of installing dev distros
How to use UUP Dump to download Windows 11 build 25375, 23466, or any ISO file - Pureinfotech
UUP Dump lets you download the Windows 11 build 25375 or 23466 ISO file or any other release for an upgrade or clean install. Here's how:
pureinfotech.com
Summary for Windows 11 Insider Preview 10.0.22509.1011 (rs_prerelease) amd64, English (United States), Windows Home, Windows Home N, Windows Pro, Windows Pro N
Summary for Windows 11 Insider Preview 10.0.22509.1011 (rs_prerelease) amd64, English (United States), Windows Home, Windows Home N, Windows Pro, Windows Pro N on UUP dump. UUP dump lets you download Unified Update Platform files, like Windows Insider updates, directly from Windows Update.
uupdump.net
Showed me how to turn on "features" the dependencies installed from visual studio
How to Install the Windows Subsystem for Linux on Windows 11
The Windows Subsystem for Linux (WSL) lets you run Linux software on your Windows 11 PC. When you enable WSL, Windows will install a custom-built Linux kernel. You can then install Ubuntu or another Linux distribution of your choice.
www.howtogeek.com
Getting started with the Windows Insider Program
Be the first to see what's next for Windows, provide feedback to help us improve Windows, and join our inspiring community in the Windows Insider Program.
insider.windows.com
Migrating from Windows PowerShell 5.1 to PowerShell 7 - PowerShell
Update from PowerShell 5.1 to PowerShell 7 for your Windows platforms.
docs.microsoft.com
Build desktop Windows apps with the Windows App SDK - Windows apps
Learn about the Windows App SDK, benefits it provides to developers, what is ready for developers now, and how to give feedback.
docs.microsoft.com
Use the Windows App SDK in an existing project - Windows apps
This article provides instructions for using the Windows App SDK in an existing project.
docs.microsoft.com
Intel Bridge: What it is, and how it gets Android apps working on Windows 11
Yo dawg, Intel heard you like compiling and it wants to recompile your compilations. Or something like that. The good news is that it actually makes sense.
www.androidcentral.com
How To Manually Install WSA:
Copy this link Then paste it in the link below, DL the MSIX Package
Get Windows Subsystem for Android™ with Amazon Appstore from the Microsoft Store
Windows Subsystem for Android™
www.microsoft.com
Website to download from Microsoft Store:
Microsoft Store - Generation Project (v1.2.3) [by @rgadguard & mkuba50]
Online link generator for Microsoft Store. You can use it to get links to almost all apps, games, themes from the Microsoft Store.
store.rg-adguard.net
Powershell 7:
.Bat file unable to run powershell 7
I have set up a very simple .bat file to execute a couple of commands to save me typing them out every time, however the processes need to be run in powershell 7. If i manually run powershell 7.0.3...
stackoverflow.com
Want a deeper understanding of Android, specifically the sublayers, like the bootloader, rooting, flashing a custom OS and / or GAPPS?
Root Nvidia Shield TV Pro 2019 Version
THIS IS OUTDATED https://forum.xda-developers.com/t/bootmod-root-your-shield-in-1-minute-2015-2017-2019.4524873/ REPLACES THIS IF YOU WANT ANDROID OR USE THIS GUIDE...
forum.xda-developers.com
The instructions above are for the shield, but the steps are mostly the same with any device, once you get into your device's bootloader..
NOTE THAT THE SHIELDTOOLS CANNOT BE USED ON YOUR PHONE, MORE SPECIFICALLY THE SHIELDROOT SCRIPT, DO NOT RUN THAT ON YOUR PHONE BC IT CONTAINS A SYSTEM IMAGE BUILT FOR THE SHIELD AND WILL SOFT BRICK YOUR PHONE UNTIL YOU FIND THE CORRECT IMAGE FOR YOUR PHONE.... EVERYTHING ELSE IS AMBIDEXTROUS
Thread has been updated to include Google Drive or Mega links to download the tool.
Mod Edit: Quote removed since post removed.
The link to your Dev build keeps throwing a forbidden error. So might wanna fix that..
EDIT *IRRELEVANT*
it was not in the download from Mega or Google.. I'm not this much of a stickler to most, because i already have WSA rockin on W11, but I just figured i'd give your method a try because your title honesatly was appealing and I had nothing bette rto do.. because I watched your video and saw the dev image was in your WIN11ROOT folder, but wasn't the case on either download for me.
jenneh said:
Gee, that got fixed quickly I guess I have no choice but to delete the links, For now! Muahahahaha!! Note to users, The Developer ISO is in WIN11R00T, It is just the DIRECT download link that is down, for those who don't wan't to download my toolset. While I'm at it, if you dl my toolset, the adb.exe shortcut will not work, you need to delete it, go into powershell, 7, then hit ctrl f to find pwsh, copy and paste that short cut to the original folder using cmd Will Not Work to activate power shell 7
Click to expand...
Click to collapse
EDIT *IRRELEVANT*
DrScrad said:
it was not in the download from Mega or Google.. I'm not this much of a stickler to most, because i already have WSA rockin on W11, but I just figured i'd give your method a try because your title honesatly was appealing and I had nothing bette rto do.. because I watched your video and saw the dev image was in your WIN11ROOT folder, but wasn't the case on either download for me.
Click to expand...
Click to collapse
Can I ask you, do you know how that's possible? Is it user error on my part or was it removed after the fact? I'm going to try to reupload it with a different name, just the dev ISO. THANK YOU for telling me.
----edit definitely user error... It shouldn't have only been 1.3 gb zipped and that should have registered to me sooner...
I Just got so excited to share the Mostly Gui Method...
I AM REUPLOADING THE DEV ISO I WILL POST A COMMENT WITH THE LINK WHEN IT HAS UPLOADED
THE TOTAL FILE SIZE FOR THE ISO IS 4.6 GB
A new lesson for those willing to learn! https://forum.xda-developers.com/t/how-to-download-win-11-developer-iso.4372383/
A mega link has been provided for the direct DL of the Dev ISO.
As well as an explanation on UUP for future reference..
I'm a little confused about what the intent here. Is this guide intended to help people set up their Windows 11 PC as a ADB platform for their phone? Or is this focused on gaining root access in the WIndows 11 Android subsystem so as to run Android apps with root?
V0latyle said:
I'm a little confused about what the intent here. Is this guide intended to help people set up their Windows 11 PC as a ADB platform for their phone? Or is this focused on gaining root access in the WIndows 11 Android subsystem so as to run Android apps with root?
Click to expand...
Click to collapse
It's about helping beginners interested in learning systems like android and windows understand better where to get started. From beginning to end. *Teaching!* Some folks interested in this are very young and do not have the ability to comprehend a lot of the technical jargon that you find on some of these more advanced concept threads.
I'm am teaching folks, as I learn, how I see things, pitfalls and all, so we have more people in the world learning these things and more people to talk to about Creating The Future.
Yes it helps them get setup with adb without having to dl the toolset off google sdk site, its the full latest sdk from google.
I also included powershell 7 so you don't have to DL that too.
In the past I probably would have not installed visual studio, as I didn't understand that their jargon of "features" is akin to "dependencies" like framework, hypervisor, etc.... Which is a huge mistake!
IRELEVANT
Okay Friends A bare Bones VM running Ghost Spectre's interpretation of what Win 11 should be is uploading now! I'm stuck at work for a few more hours, but when I get home I will make a video to guide you all through programming our new toy!
Now, as this is a class and a learning environment, you will be left with a problem We will get Kali Linux setup and working in our Windows 11 Virtual Machine, We will Install the Android Subsystem through ghost's toolbox, since it's easier.
We will get all our features and dependencies unlocked, and then you will be presented with the problem... Some solutions.... And well just an opportunity to THINK OUTSIDE THE BOX.
The android subsystem is giving me trouble in the VM. Maybe it will you, too.
Can You solve the problem?
Also I want you to think about this question:
What do we want windows to be? More so what do we want computing to be, to Do?
The bare bones windows 11 virtual machine is 6gb in size zipped!
Posting the link here early for those that are interested and already understand how to install vms... still working on the guide for those that wouldn't know the first thing to do with this, otherwise XD
https://mega.nz/file/isdEVD4J#185Cr400Q2qcXuIIBUx-fEbPzzK1iAe54mbCnmIrA3I
this is ghost specter's win 11
i have now built my own modded win 11
jenneh said:
Okay Friends A bare Bones VM running Ghost Spectre's interpretation of what Win 11
Now, as this is a class and a learning environment, you will be left with a problem We will get Kali Linux setup and working in our Windows 11 Virtual Machine, We will Install the Android Subsystem through ghost's toolbox, since it's easier.
We will get all our features and dependencies unlocked, and then you will be presented with the problem... Some solutions.... And well just an opportunity to THINK OUTSIDE THE BOX.
The android subsystem is giving me trouble in the VM. Maybe it will you, too.
Can You solve the problem?
Also I want you to think about this question:
What do we want windows to be? More so what do we want computing to be, to Do?
The bare bones windows 11 virtual machine is 6gb in size zipped!
Click to expand...
Click to collapse
Paylaşımların için teşekkürler