Archive for the ‘Android’ Category
I was having issues with loading the Blocks Editor when using the Google App Inventor then I saw this:
Tips: If you are using GNU/Linux, then you should use Sun Java rather than OpenJDK. App Inventor does not work well with OpenJDK.
Ubuntu by default loads the Blocks Editor with OpenJDK, so the solution is to install Sun Java instead. I installed it with the Synaptic Package Manager. Then the next time you open up the Blocks Editor, don’t use the OpenJDK. Instead select other and locale this file: /usr/lib/jvm/java-6-sun/jre/bin/javaws and you should be good. You can use this from now on.
So I signed up to get an invite to use the Google App Inventor for Android and was excited to see an email welcoming me to it. I started reading the beginner’s guide and setting up my environment. Since Java is the language used to write Android apps, I installed Eclipse. Google has an add-on for Eclipse called the Android Development Tools or ADT plugin. I attempted to install this, but got this error:
An error occurred while installing the items session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null –> [R]org.eclipse.cvs 1.0.400.v201002111343, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction). The artifact file for osgi.bundle,org.eclipse.cvs,1.0.400.v201002111343 was not found.
After googling, I found out that installing Eclipse via the Ubuntu Software Center doesn’t fully install all the necessary files for Eclipse. Installing it with the Synaptic Package Manager installs everything needed. So I un-installed Eclipse via the Ubuntu Software Center and installed “eclipse” along with the rest of the required packages using the Synaptic Package Manager. By the way, when you select “eclipse” package it asks you if you want to install the other required packages. Make sure you do, or else it will not work.
I’ll be posting more about developing for the Android in the coming weeks. Can’t wait to build my first app!