Problem export signed android package

Hey!

I'm currently evaluating intellij 9 for android development but I can't export a signed android packate (From tools -> "Extract Signed Android Package").

Is there something I need to configure for this option to work?

Thanks!

7 comments
Comment actions Permalink

I enabled IntelliJ loggin and got the following exception ...

java.lang.String cannot be cast to java.lang.Boolean: java.lang.String cannot be cast to java.lang.Boolean
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
    at org.jetbrains.android.exportSignedPackage.CheckModulePanel.updateMessages(CheckModulePanel.java:66)
    at org.jetbrains.android.actions.ExportSignedPackageAction.checkFacet(ExportSignedPackageAction.java:125)
    at org.jetbrains.android.actions.ExportSignedPackageAction.access$100(ExportSignedPackageAction.java:46)
    at org.jetbrains.android.actions.ExportSignedPackageAction$2.run(ExportSignedPackageAction.java:110)
    at org.jetbrains.android.actions.ExportSignedPackageAction$1$1.finished(ExportSignedPackageAction.java:82)
    at com.intellij.compiler.CompilerManagerImpl$ListenerNotificator.finished(CompilerManagerImpl.java:402)
    at com.intellij.compiler.impl.CompileDriver$9.run(CompileDriver.java:529)
    at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:621)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:511)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:372)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


Anyone knows a fix?

0
Comment actions Permalink

Has there been any resolution to this? Any workaround to get this fixed? When I try to build an apk, all I get is an empty warning window. See attachment.



Attachment(s):
idea.png
0
Comment actions Permalink

I get the same empty warning dialog.
It looks like it is project-related, as this used to work for me, and it still does for another android project.

0
Comment actions Permalink

It depends whether you have debuggable set to true or false in your app manifest. It currently works if you set debuggable to false.

0
Comment actions Permalink

Thanks, that did the trick!

0

Please sign in to leave a comment.