Project: appceleratorstudio
Issue TISTUD-2017: Build: Android: Error while building Android application
While building for Android I setup my SDK, create a template project, select to build for Android, input a key file I generate using these instructions (link:http://developer.android.com/tools/publishing/app-signing.html#cert). Everything seems to be doing fine till it tries to sign the app. I get the following error: {noformat} [DEBUG] jarsigner -sigalg MD5withRSA -digestalg SHA1 -storepass qatesting -keystore /Users/shastaqa/my-release-key.keystore -signedjar "/Users/shastaqa/Documents/Test Project 1.apk" "/Users/shastaqa/Documents/Titanium_Studio_Workspace/Test Project 1/build/android/bin/app-unsigned.apk" "" [ERROR] Certificate chain not found for: . must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain. {noformat} Steps to reproduce: 1. Setup Android. 2. Create the key file (http://developer.android.com/tools/publishing/app-signing.html#cert) 3. Click Publish > Distribute -- Android App Store 4. Fill out the form using the correct information and supply the key generated in step 2. 5. Click publish. Expected results: Titanium Studio should build the app for distribution without error. Actual results: The above error and no file created.
Story points: 5