Hi everyone. I'm new to this site, so if this isn't the right place for this, I'm sorry. I'm new to programming but decided to try writing some java midlets. I have esmertec jbed for a jvm on my phone. JavaME SDK 3.0 and Sun Wireless Tools Kit 2.5 on my computer. I wrote a basic "Hello World" to start. Using WTK I was able to build it and test it in their emulator, and it ran fine. I packaged it into a .jar, ran it again in the emulator, again ran fine. When I try the .jar on my phone with jbed, it starts to install it, and then gives an error message "is not designed to work with this device and cannot be installed - 40". Any ideas what I'm doing wrong.
Related
Hey all I was wondering if someone could help me out in installing and setting up eclipse. I tried before and ended up installing something called glassfish3 or something like that so what would be ideal is a list of links to the downloads I need to get maybe in the order I need to install them in? =P It would really be greatly appreciated!
Thanks,
D3luSi0n4L
Anyone? Please! I have the JDK & Java & Eclipse installed and Eclipse will not startup, I get an error....
"A Java Runtime Enviroment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java Virtual machine was found after searching the following locations:
C:\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH"
Someone suggested that I need to install the SDK but I thought that was only needed specifically for Android? & Before i setup Android I'd like to have Eclipse fully functional to avoid and problems that could occur. I installed Eclipse for EE Developers or whatever, the biggest file they and I installed JDK 6 Update 21
Eclipse (Top One) : eclipse*dot*org/downloads/
Java : oracle*dot*com/technetwork/java/javase/downloads/index.html
Any and all help is greatly appreciated!
Sincerely,
D3luSi0n4L
I'm almost close of not asking any more questions but I had problems with apk manager, I got it right, and I had problems with Avabox, and I got that right but now I'm having problems with Eclipse. I installed basically both files of Eclipse the big file and the small fiile (I didn't know which one I needed).
when I open the eclipse program I get this message:
"Failed to load the JNI shared library : c:\program files (x86)\java\jre6\bin\client\jvm.dll
I don't know what this means. can someone help me? thanks.
Sorry I'm also a noob at installing eclipse, but thought this might be a good place to ask my question too. I found a tutorial on how to install everything (i.e. eclipse, JDK, and SDK) put it said I needed to change my PATH to point to /tools and now after doing that I can't open eclipse. I go the same error you did in your first post. I'm thinking I needed the other lines that were in the PATH, but now I don't know what they were.
If you follow the steps here, it is fairly simple and easy:
http://developer.android.com/sdk/installing.html
You have to download first de java JDK (jre is not enought) and then download and instal eclipse... Just follow the instructions on the link
Sent from my GT-P1000 using XDA App
I've gone through this and had eclipse up and running. Even created some AVDs. Here is the part that screwed it up though.
"On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ and platform-tools/ directories to the path. "
D3luSi0n4L said:
Anyone? Please! I have the JDK & Java & Eclipse installed and Eclipse will not startup, I get an error....
"A Java Runtime Enviroment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java Virtual machine was found after searching the following locations:
C:\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH"
Someone suggested that I need to install the SDK but I thought that was only needed specifically for Android? & Before i setup Android I'd like to have Eclipse fully functional to avoid and problems that could occur. I installed Eclipse for EE Developers or whatever, the biggest file they and I installed JDK 6 Update 21
Eclipse (Top One) : eclipse*dot*org/downloads/
Java : oracle*dot*com/technetwork/java/javase/downloads/index.html
Any and all help is greatly appreciated!
Sincerely,
D3luSi0n4L
Click to expand...
Click to collapse
I downloaded the 32 bit version of eclipse and javaw.exe was not missing anymore. How do i use eclipse though?
Edit: I get it, JDK.
is there a way to install the sdk phone tools on xp? I have the 6.1v and visual studios 2010. But when i try to install it says i have to have win7 or vista, and i cant put win7 on machine cause it only has 128m ram. I have a patch file that is suppose to let ya install but haven figured out how to yet.
There are ways to get it installed but the emulator requires Directx 10 so that's not going to work. Without the emulator all you can do is write and compile code but not test to see if it works or not. Not very useful.
XP barely runs on 128mb of RAM so I imagine Visual Studio would be absolutely miserable to use if usable at all.
If you wanna develop for WP7 I guess its safe to say it time for an upgrade.
i would say so as well. even a netbook has more capabilities than that
Im not much of a developer in some ways so as for now all im wanting to do is use the toms installer or the reg sdk deployment tool witch i have but when i try to launch program i get this error:
Could not load file 'Microsoft Smart Device.Connectivity,10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. The system cannot find the file specified.
Then when i try to install the Microsoft XNA Game Studio 4.0 windows phone from the WPDT_RTM_en_iso
i get this error: Microsoft xna game studio4.0 phone ex require visual 2010 or WPDT. install the required app and then relaunch setup. " witch i have the visual studio 2010 installed"
and i have a win7 netbook but have managed to have a kid that spilled tea on it so am trying to figure out the way to do this untill
i can afford to get another netbook.
Thanks for the help and replies guys, very appriciated!!
Ok so I got the xna game studio 4 to install but still getting the phone device connectivity error, is there something I can download to get by this and use the deployment
guess no solution huh
i don't believe so. the way i did it was to use a virtual machine so i could get the phone emulator working on an xp machine (virtual machine has windows 7 on it). but you don't have enough ram for that. you need at least 1.5gb dedicated to the virtual machine alone.
You can try this solution here http://forum.xda-developers.com/showpost.php?p=9618980&postcount=81. I just couldn't get it to install still as I kept getting an error saying could not install the following component .NET Framework 4 Multi-Targeting Pack.
i finally found a iso file and downloaded it then opened up the baseline.dat file and edited it according to the patch settings and everything works just like it does on win7 netbook, just wanted to see if it was possible and it is!
Thanks for the replies.
Could you share that info? Ive been dying to get SDK tools on my XP... Thanks
jasontac said:
i finally found a iso file and downloaded it then opened up the baseline.dat file and edited it according to the patch settings and everything works just like it does on win7 netbook, just wanted to see if it was possible and it is!
Thanks for the replies.
Click to expand...
Click to collapse
Can you please share that? I have 4 XP computers at home and neither of them can run it. It would be great as I need the SDK to run Chevron unlocker! Thanks!
Link pleaseee
I so desperately need this also
for those that want the tools on windows xp, here you go: http://blogs.msdn.com/b/astebner/archive/2010/05/02/10005980.aspx
I finally got it to install on XP!
Here's what I did,
Download the .iso file (it's at the bottom of the page) :
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=04704acf-a63a-4f97-952c-8b51b34b00ce
After, make a new folder on your desktop and extract the ".iso" file into the folder.
Next, I grabbed the ".zip" file from here, : http://forum.xda-developers.com/showpost.php?p=9618980&postcount=81
Take the baseline.dat from the .zip file and replace it in the one with the extracted .iso files. Then just run setup.exe from the file. It should work! But make sure you have about 3 gb free from your hard drive. And emulator doesn't work, but I'm sure its fine if your not a developer.
Remember to hit the thanks button if it worked for you!
Hello all. Pls answer this quick question.
Inspite of being an xda member for a while, i haven't had the knowledge of android development. Im just starting to learn things from now.
So, i think i should learn java (dalvik VM part). Now Im just following a book of developing android apps for noobs. I need to install eclipse and install ADT plugin for eclipse.
Well, im on windows7 ultimate 32bit version. I previously had an ECLIPSE HELIOS VERSION (i think it is eclipse classic 3.6, not sure but it shows eclipse helios on startup). I installed this eclipse helios version. But the problem is i cant install the ADT plugin in any way.
I tried "https://" with no luck. Also tried "http://" with no luck. Also tried "INSTALL FROM ZIP ARCHIVE" with no luck. Also tried this with older ADT zip archives ofcourse with no luck.
The single most error it shows for all these attempts is "Cannot complete the install because one or more required/requested items could not be found."
What do you say. Is the eclipse version having bug with ADT plugin. Or do i need to download another eclipse version. If so please give me the direct file download link for the version you recommend (please since im completely new to this).
Now also installed eclipse indigo and the same problem continued. What should I do.
Sent from my Blade using XDA App
You need to be connected to the internet to installed the required items. I had that error and once I connected to the internet I was fine. But I also had to download the ZIP file because the http-https didn't work for me either.
bharatgaddameedi said:
Hello all. Pls answer this quick question.
Inspite of being an xda member for a while, i haven't had the knowledge of android development. Im just starting to learn things from now.
So, i think i should learn java (dalvik VM part). Now Im just following a book of developing android apps for noobs. I need to install eclipse and install ADT plugin for eclipse.
Well, im on windows7 ultimate 32bit version. I previously had an ECLIPSE HELIOS VERSION (i think it is eclipse classic 3.6, not sure but it shows eclipse helios on startup). I installed this eclipse helios version. But the problem is i cant install the ADT plugin in any way.
Also tried "INSTALL FROM ZIP ARCHIVE" with no luck. Also tried this with older ADT zip archives ofcourse with no luck.
The single most error it shows for all these attempts is "Cannot complete the install because one or more required/requested items could not be found."
What do you say. Is the eclipse version having bug with ADT plugin. Or do i need to download another eclipse version. If so please give me the direct file download link for the version you recommend (please since im completely new to this).
Click to expand...
Click to collapse
I'm having a similar problem. I've downloaded the JDK, Android SDK, and Eclipse indigo. I first tried importing the plugin to classic, and it said "requires plugin org.eclipse.wst.sse.ui". So I went back to Eclipse's site and found a version that included WST. Now it's telling me that it can't find one of the files. I've tried both the https, http, and zip versions. I've scoured developer.android, and there's nothing describing my problem.
I'm trying to get into the Android programming scene, but it seems like the "initiation ceremony" is getting the better of me.
Resolved
I managed to find a solution to the problem. Rather than installing Indigo, I reverted to a version of Helios, and everything worked perfectly
Please tell me how can I convert java application to android application? Is there some program that it can be done? I have some java applications that I would like to install on my phone. Thank you in advance for answers
you can search and download a j2me vm for android, which is a software, and then you are all done.
Use JBed Java implementation. Also Android Java != J2ME, so you can't just convert.
Sent from my LT26i using XDA
ja
I tried that with jbed After you have completed all but, as stated in the instructions for jbed and I try to get into jbed ejected from jbed.Ne me know where I was wrong when inserting the phone jbed.HOW I installed JBED:
2. Install Jbed.apk and push libjbedvm.so to /system/lib and reboot your phone (don't do that point if you already have Java installed in your rom).
3. Launch Java app. Press "menu" button and choose "sdcard". Wait a while and choose Opera Mini to install.
Trying to build my own AOSP ROM and I keep getting stuck on emulator unable to find the kernel version, though the file is there.
I am using Hyper-V VM with Ubuntu V20 installed and the VHD is exactly that, a .vhd file extension for the virtual hard drive.
I just can not seem to resolve the problem on the missing kernel, also have supplied a pic showing exactly what it says after the build is finished and then I try and run emulator.
Any help or info, links on the matter would be much appreciated and thank you for taking the time to help out.
I have also noticed I can not use "emulator -list-avds" nothing happens. Just exits and terminal is ready for user input again.
So far I did a repo sync again and then a m -checkbuild and just waiting for it to finish to try emulator again
Update: Decided to start from scratch
Changes that I have made.
Using Ubuntu 18.04 for O.S
Switched from M.S Hyper-V to Oracle Virtual-Box (V.B has more features then Hyper-V and is better in performance because of it.).
Virtual HDD is set to .VHD but is on Sata and not IDE now (Virtual-Box only allows it).
Made the VHD a fixed drive instead of dynamic for better performance (Max size of 512GB)
Dedicated 32GB of ram to VM.
Allowed up to 6 cores on a 12 core processor.
might experiment getting Oracle JDK installed instead of using openjdk, due to having issues with it.
UPDATE_1
Fresh build on 18.04 same issues as old build. emulator, avd and android. all not working.
I might have missed a package to download or something or maybe java still is not working. Using openjdk 11 at the moment. I am running out of ideas as to why i can not get it working.
Update_2
Looks like the reason emulator is not working is due to me not installing SDK, I am not using the IDE so I think I need the command-line & Platform tools installed. got to work out how to install it now.
UPDATE_3
SDK from what I know is installed. Now I am getting an output file is missing, but build completed with no issues. Please help, new image also supplied.