Publishing an App Inventor App on the Android Market.
  • POC0bobPOC0bob March 2011

    keytool.exe -genkey -v -keystore my-release-key.keystore -alias aliasname -keyalg RSA -keysize 2048 -validity 10000 -- after i enter that... i get this error: image

  • POC0bobPOC0bob March 2011

    <.< it didn't post what i said... stupid thing... Microsoft Windows [Version 6.1.7601]

    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.


      [no]:  yes

    Generating 2,048 bit RSA key pair and self-signed certificate (SHA1withRSA) with
     a validity of 10,000 days
            for: CN=brandon cox, OU=POCentertainment, O=POC, L=los alamos, ST=New Me
    xico, C=NM
    Enter key password for <aliasname>
            (RETURN if same as keystore password):
    Key password is too short - must be at least 6 characters
    Enter key password for <aliasname>
            (RETURN if same as keystore password):
    Re-enter new password:
    [Storing my-release-key.keystore]
    keytool error: java.io.FileNotFoundException: my-release-key.keystore (Access is
     denied)
    java.io.FileNotFoundException: my-release-key.keystore (Access is denied)
            at java.io.FileOutputStream.open(Native Method)
            at java.io.FileOutputStream.<init>(Unknown Source)
            at java.io.FileOutputStream.<init>(Unknown Source)
            at sun.security.tools.KeyTool.doCommands(Unknown Source)
            at sun.security.tools.KeyTool.run(Unknown Source)
            at sun.security.tools.KeyTool.main(Unknown Source)

    C:\Program Files\Java\jre6\bin>

    Thats the error... i removed everything above where its askes if the info is correct.. please help.

  • jimmyjimmy June 2011

    Hello ToxigenicPoem,


    Can I add my thanks to the preceding comments? I am making steady progress. I have a problem tho, when recompiling...

    C:\Users\jtulloch\Documents\development\apktool-install-windows-r04-brut1>apktoo
    l b OrderCoffee OrderCoffee.apk
    I: Checking whether sources has changed...
    I: Smaling...
    Exception in thread "main" java.lang.NullPointerException
            at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)
            at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2569)
            at org.jf.smali.smaliFlexLexer.getErrorHeader(smaliFlexLexer.java:2661)
            at org.jf.smali.smaliFlexLexer.nextToken(smaliFlexLexer.java:2530)
            at org.antlr.runtime.CommonTokenStream.fillBuffer(CommonTokenStream.java
    :119)
            at org.antlr.runtime.CommonTokenStream.LT(CommonTokenStream.java:238)
            at org.jf.smali.smaliParser.smali_file(smaliParser.java:430)
            at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:71)
            at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)

            at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

            at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
            at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
            at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
            at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
            at brut.androlib.Androlib.buildSources(Androlib.java:179)
            at brut.androlib.Androlib.build(Androlib.java:170)
            at brut.androlib.Androlib.build(Androlib.java:154)
            at brut.apktool.Main.cmdBuild(Main.java:174)
            at brut.apktool.Main.main(Main.java:59)


    As an absolute newbie my 1st questions are pretty basic!! 
    Are the numbers in the rackets line numbers?
    Which file is incorrect? Screen1.smali? This is the only one with sufficient lines.
    Is there somewhere a list of possible troubleshooting that I can do?
    Better still, is there an obvious answer? Perhaps is my manifest file? If so I have posted below:

    <?xml version="1.0" encoding="utf-8"?>
    <manifest package="appinventor.ai_smithy.OrderCoffee"
      xmlns:android="http://schemas.android.com/apk/res/android">
    android:versionCode = "1"
    android:versionName = "1.0"
    android:installLocation="auto">
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-sdk android:minSdkVersion="3" />
        <application android:label="OrderCoffee" android:icon="@drawable/ya"
            <activity android:label="OrderCoffee" android:name=".Screen1" android:configChanges="keyboardHidden|orientation">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
            <activity android:name="com.google.devtools.simple.runtime.components.android.ListPickerActivity" android:screenOrientation="behind" android:configChanges="keyboardHidden|orientation" />
            <activity android:name="com.google.devtools.simple.runtime.components.android.WebViewActivity" android:screenOrientation="behind" android:configChanges="keyboardHidden|orientation">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                </intent-filter>
            </activity>
        </application>
    </manifest>


    TIA

  • the_shezadthe_shezad July 2011

    Hi ToxigenicPoem

    I am having trouble with step six. When I try to sign my app, it comes with this error:

    C:\Program Files\Java\jdk1.6.0_21\bin>jarsigner.exe -verbose -keystore mykeystor
    e.ks DataLock2.apk Shezad
    Enter Passphrase for keystore:
    jarsigner: unable to create: DataLock2.apk.sig

    C:\Program Files\Java\jdk1.6.0_21\bin>

    I have tried creating a new keystore but it is not working. Can you tell me any way to fix this.
    Thanks

  • amerkashiamerkashi January 14

    You can try the automated tool, AppToMarket ( http://Amerkashi.Wordpress.com )

  • farooqshaikfarooqshaik January 27

    well i just followed all ur steps i didnt signed the package try to change the icon of my appinventor .apk its not installing in my phone after i changed icon and manifest file and zipaligned

Hey are you new here?!

Welcome to the best Ad-Free Android Community around! Create your profile, and start posting now! New features are being added all the time!

Login with Facebook Sign In with OpenID Sign In with Google Sign In with Twitter

Sign In! Sign Up!

Categories

In this Discussion

Tagged