English 中文(简体)
按指挥线签署APK
原标题:Signing APK by commandline

我正在与Eclipse和AndanSDK一道开发和应用甲状腺素。 为了在装置上测试 app具,它每次都很难做同样的工作:

  • Android Tools
  • Export Signed Application Package
  • Select project
  • Select keystore
  • Use password
  • Select alias
  • Use password
  • Select output path & file

之后,使用指挥线和旁遮掩了安装的仪器以前的版本。 然后安装新版本的仪器。

由于这种方式太长,我想描述整个行动,但<条码>.jarsigner<> /code>总是以同样的错误加以阻止,我可以签署。

unable to sign jar: java.util.zip。 ZipException: Disability entry compressed volume (expected 761 but got 763 bytes)

我现在非常混淆。 The jarsigner is from JDK 1.6.0.26. 例数为3.6.2。 安妮·SDK正在完成最新工作。 我是在Windowsista 32-bit下工作的。

是否有任何与<代码>jarsigner类似的问题。 或能够给我一些ti?

问题回答

为什么不要让你在你的电话上打耳?

这是如何做到的:

  1. First, download and install your phone s drivers (find via a Google search)
  2. Debug the project in eclipse as you would on an emulator in eclipse, but when eclipse tells you to choose a device, pick your phone.

这样,你们就不得不出口 app子,你就可以用一个体面的装置——即不是 em子——进行 de击。





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签