You are here

Android Studio Portable 3.1.2 Dev Test 1

25 posts / 0 new
Last post
mwayne
Offline
Last seen: 15 hours 39 min ago
Developer
Joined: 2012-01-03 09:23
Android Studio Portable 3.1.2 Dev Test 1

Application: Android Studio
Category: Development
Description:

Android Studio provides the fastest tools for building apps on every type of Android device.

World-class code editing, debugging, performance tooling, a flexible build system, and an instant build/deploy system all allow you to focus on building unique and high quality apps. (Source: Homepage)

This application requires JDK (e.g. jdkPortable) to run.

The Android Studio Portable installation has to be next to the CommonFiles dir, e.g.:
C:/PortableApps/AndroidStudioPortable
C:/PortableApps/CommonFiles/JDK

Download Android Studio Portable 3.1.2 Dev Test 1 English online [1.0MB+855.3MB download / 1.1GB installed]
(MD5: 1370303d233b7eab228704868cb1cc33)

Project on GitHub / SourceForge

Release Notes:
3.1.2 Dev Test 1 (2018-05-23): Update base app + set JDK path fix
3.0.1 Dev Test 1 (2018-02-22): Update base app
3.0 Dev Test 2 (2017-11-14): Fix JDK dependency
3.0 Dev Test 1 (2017-11-09): Update base app
2.3.3 Dev Test 1 (2017-07-28): Initial release

mwayne
Offline
Last seen: 15 hours 39 min ago
Developer
Joined: 2012-01-03 09:23
Updated Android Studio Portable to 3.0 DT1

Update base app

demon.devin
demon.devin's picture
Offline
Last seen: 5 months 4 days ago
Developer
Joined: 2007-08-02 09:04
So this package just assumes

So this package just assumes the user has the Android SDK already installed on the system?

daemon.devin

depp.jones
Offline
Last seen: 7 hours 18 min ago
DeveloperTranslator
Joined: 2010-06-05 17:19
As far as I read the

As far as I read the requirements for Android Studio, the SDK is just required for the Android Emulator. I did not test it though, as I don't do any android development.

demon.devin
demon.devin's picture
Offline
Last seen: 5 months 4 days ago
Developer
Joined: 2007-08-02 09:04
Well, I think there should at

Well, I think there should at least be an option for the user to set the Android SDK in the user configuration file.

mwayne, if you would like help with that.. I've got a working solution if you're interested.

daemon.devin

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 10 hours 33 min ago
DeveloperModerator
Joined: 2008-07-24 18:46
Not required = not included

If the SDK is not required for the application to work, it should not be included by default.

If it can add to the application, I suggest having it available as a plugin for the application, which is easy to do: https://portableapps.com/development/portableapps.com_format#plugins

demon.devin
demon.devin's picture
Offline
Last seen: 5 months 4 days ago
Developer
Joined: 2007-08-02 09:04
I wasn't saying to include it

I wasn't saying to include it in the package Gord. I was saying that there should be a way to tell the package to look for it and where to find it.

daemon.devin

demon.devin
demon.devin's picture
Offline
Last seen: 5 months 4 days ago
Developer
Joined: 2007-08-02 09:04
Android SDK

If anyone is interested in adding support for Android SDK to mwayne's package here is the custom code needed to make it work.

Add the following to the applicable files:
Custom Code

custom.nsh
The scan priority is as follows:

  1. The user configuration file.
  2. Inside the App directory in a folder named sdk. (i.e. App\AndroidStudio\sdk)
  3. Inside the PortableApps common files directory named AndroidSDK (i.e. X:\PortableApps\CommonFiles\AndroidSDK)
  4. Locally installed Android SDK. (Usually C:\Users\USERNAME\AppData\Local\Android\sdk)

AndroidStudioPortable.ini (launcher.ini)
Sets an environment variable (ANDROID_HOME=%PAL:SDK%)
%PAL:SDK% is set in the custom.nsh file inside the ${SegmentInit} segment.

AndroidStudioPortable.ini (user config file)
SDK= Define any absolute path to the SDK's directory you want.

Recompile and it should work as expected.

Smile

daemon.devin

superkryo
Offline
Last seen: 6 months 2 weeks ago
Joined: 2009-01-23 05:24
3.0 not working (2.3 was fine

3.0 not working (2.3 was fine), giving following errors:

Internal Error. Please report to https://code.google.com/p/android/issues

com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.intellij.debugger.DebuggerManager'
at com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:254)
at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:43)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:509)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:120)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:104)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:91)
at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:287)
at com.intellij.openapi.project.impl.ProjectManagerImpl.initProject(ProjectManagerImpl.java:250)
at com.intellij.openapi.project.impl.ProjectManagerImpl.lambda$getDefaultProject$3(ProjectManagerImpl.java:312)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:556)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:501)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:204)
at com.intellij.openapi.project.impl.ProjectManagerImpl.getDefaultProject(ProjectManagerImpl.java:309)
at com.intellij.ide.fileTemplates.FileTemplateManager.getDefaultInstance(FileTemplateManager.java:67)
at com.android.tools.idea.startup.AndroidStudioInitializer.setUpNewProjectActions(AndroidStudioInitializer.java:243)
at com.android.tools.idea.startup.AndroidStudioInitializer.run(AndroidStudioInitializer.java:91)
at com.android.tools.idea.AndroidInitialConfigurator.activateAndroidStudioInitializerExtensions(AndroidInitialConfigurator.java:206)
at com.android.tools.idea.AndroidInitialConfigurator.(AndroidInitialConfigurator.java:72)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:103)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:80)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:63)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:468)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:120)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$createComponents$8(ApplicationImpl.java:466)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:176)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:556)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:501)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:163)
at com.intellij.openapi.application.impl.ApplicationImpl.createComponents(ApplicationImpl.java:473)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:104)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:425)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:411)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:206)
at com.intellij.idea.MainImpl$1.lambda$null$0(MainImpl.java:49)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:343)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NoClassDefFoundError: com/sun/jdi/InternalException
at com.intellij.debugger.impl.DebuggerManagerImpl.(DebuggerManagerImpl.java:147)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:103)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:80)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:63)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:468)
... 53 more
Caused by: java.lang.ClassNotFoundException: com.sun.jdi.InternalException
at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:230)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 63 more

Lt_Tuttle
Offline
Last seen: 7 months 5 days ago
Joined: 2017-11-15 16:50
I am getting this same error.

I am getting this same error. Best I can tell it's not seeing the JDK?

mwayne
Offline
Last seen: 15 hours 39 min ago
Developer
Joined: 2012-01-03 09:23
Latest version

Do you have the lastest version 3.0 DT2 and jdkPortable installed in CommonFiles/JDK?

superkryo
Offline
Last seen: 6 months 2 weeks ago
Joined: 2009-01-23 05:24
Now Android Studio starts...

Now Android Studio starts... thanks for the update. Unfortunately cannot open any projects due to this error (pop up message) :
"Incomplete or corrupted installation - "X:\PortableApps\AndroidStudioPortable\prebuilts\studio\jdk\win64" directory does not exist"

superkryo
Offline
Last seen: 6 months 2 weeks ago
Joined: 2009-01-23 05:24
Nobody having the same

Nobody having the same problem?

mwayne
Offline
Last seen: 15 hours 39 min ago
Developer
Joined: 2012-01-03 09:23
Project JDK

I think you have to set a new project JDK as it is not finding it.
Goto File -> Project Structure... under "Project SDK:" click on "New..." and select JDK and then goto your JDK installation in your CommonFiles path e.g. "C:\PortappeApps\CommonFiles\JDK" click on "OK", "Apply" and "OK". Now it should reload your project with a working JDK Smile

superkryo
Offline
Last seen: 6 months 2 weeks ago
Joined: 2009-01-23 05:24
Thanks for the help! However

Thanks for the help! However this seems a chicken and egg problem as the the editor does not open without getting pass the error. Although there is an option of "Project Default->Project Structure" under "Configure" pulldown on the right bottom of the welcome screen, it does not seem to work (no follow up windows). "Project Default->Setting" works but does not offer the project structure option.

Further help much appreciated

mwayne
Offline
Last seen: 15 hours 39 min ago
Developer
Joined: 2012-01-03 09:23
Updated Android Studio Portable 3.0 to DT2

Fix JDK dependency
Seems like I missed a JDK dependency sorry for the inconvenience. Also Android Studio Portable requires JDK to run now.

demon.devin
demon.devin's picture
Offline
Last seen: 5 months 4 days ago
Developer
Joined: 2007-08-02 09:04
mwayne, you can use the same

mwayne, you can use the same idea I had for the Android SDK for the JDK implementation as well so the end-user can define a path to JDK in the user configuration file if they wanted.

daemon.devin

mwayne
Offline
Last seen: 15 hours 39 min ago
Developer
Joined: 2012-01-03 09:23
Updated Android Studio Portable to 3.0.1 DT1

Update base app

youcef
Offline
Last seen: 3 months 2 weeks ago
Joined: 2018-03-03 13:10
its not working

Hello,
its not working, I installed jdk 8 but I still have this message:

Internal Error. Please report to https://code.google.com/p/android/issues

com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.intellij.debugger.DebuggerManager'
at com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:254)
at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:43)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:509)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:120)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:104)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:91)
at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:287)
at com.intellij.openapi.project.impl.ProjectManagerImpl.initProject(ProjectManagerImpl.java:250)
at com.intellij.openapi.project.impl.ProjectManagerImpl.lambda$getDefaultProject$3(ProjectManagerImpl.java:312)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:556)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:501)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:204)
at com.intellij.openapi.project.impl.ProjectManagerImpl.getDefaultProject(ProjectManagerImpl.java:309)
at com.intellij.ide.fileTemplates.FileTemplateManager.getDefaultInstance(FileTemplateManager.java:67)
at com.android.tools.idea.startup.AndroidStudioInitializer.setUpNewProjectActions(AndroidStudioInitializer.java:243)
at com.android.tools.idea.startup.AndroidStudioInitializer.run(AndroidStudioInitializer.java:91)
at com.android.tools.idea.AndroidInitialConfigurator.activateAndroidStudioInitializerExtensions(AndroidInitialConfigurator.java:206)
at com.android.tools.idea.AndroidInitialConfigurator.(AndroidInitialConfigurator.java:72)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:103)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:80)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:63)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:468)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:120)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$createComponents$8(ApplicationImpl.java:466)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:176)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:556)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:501)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:163)
at com.intellij.openapi.application.impl.ApplicationImpl.createComponents(ApplicationImpl.java:473)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:104)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:425)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:411)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:206)
at com.intellij.idea.MainImpl$1.lambda$null$0(MainImpl.java:49)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:343)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/sun/jdi/InternalException
at com.intellij.debugger.impl.DebuggerManagerImpl.(DebuggerManagerImpl.java:147)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:103)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:80)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:63)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:468)
... 53 more
Caused by: java.lang.ClassNotFoundException: com.sun.jdi.InternalException
at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:230)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 63 more

3031
Offline
Last seen: 2 weeks 6 hours ago
Joined: 2018-04-20 05:55
solution to folder error?

hi

i just registered because of this package and this folder problem so....solution could be that you manually create that 4 folders under androidstudio main folder. no more errors and you can open online/offline projects, etc.

thanks mwayne for this great package and enjoy

bb

3031
Offline
Last seen: 2 weeks 6 hours ago
Joined: 2018-04-20 05:55
i forget to add. after

i forget to add. after creating folders and opening project go to project structure and do change that folders to real jdk portable folder

enjoy

mhdali941
Offline
Last seen: 1 month 3 weeks ago
Joined: 2018-02-28 02:59
How do you use the portable JDK? (No JVM Installation found...)

How do you use the portable JDK? (No JVM Installation found...). Where do you extract the files for Android Studio portable to work?

mhdali941
Offline
Last seen: 1 month 3 weeks ago
Joined: 2018-02-28 02:59
Is there a way to...

Is there a way to set the portable JDK installation folder without going to environment variable? I want to test it on a limited account with no access to the environment variables.

mwayne
Offline
Last seen: 15 hours 39 min ago
Developer
Joined: 2012-01-03 09:23
Updated Android Studio Portable to 3.1.2 DT1

Update base app + set JDK path fix (Thanks to 3031)

Sneshok
Offline
Last seen: 3 weeks 2 days ago
Joined: 2018-05-24 15:02
thank you very much for the

thank you very much for the portable version, but I had a problem.
can you know how to solve it?
configure build ->Configure project -> Apple script build.gradle i cant download dragle-3.1.2.pom. (Connection timed out: connect)
And the project bot build.

Log in or register to post comments