2013-05-16 67 views
8

Khi tôi cố gắng để tải lên một ứng dụng để playstore android tôi nhận được lỗi sau:LỖI: bãi thất bại vì không có AndroidManifest.xml tìm thấy

ERROR: dump failed because no AndroidManifest.xml found 

bước mà tôi mất:

  • mới HDD, cài đặt sạch jre, jdk
  • tải xuống gói nhật thực android - phiên bản mới nhất hiện nay
  • tạo một dự án, mẫu mới. đơn giản xin chào thế giới
  • ký tên với trình hướng dẫn, tạo chứng chỉ, v.v.
  • thử tải lên thị trường ... = LRI!

Tôi đã thử nhiều kết hợp, các phiên bản nhật thực khác nhau. thậm chí để ký nó bằng tay. nó không hoạt động nếu tôi cố gắng chạy bad dump dump, tôi nhận được lỗi tương tự.

nếu có ai biết một giải pháp ...

(SAU EDIT): giải pháp nhanh nhất bạn có thể tìm thấy, mà không cần phải đánh vào đầu của bạn trên tường, là trong câu trả lời chấp nhận của riêng tôi dưới đây. dù sao, InteliJ là tốt hơn gấp 100 lần so với nhật thực.

+0

bạn có đang sử dụng bất kỳ phần mềm proxy nào không? khi tôi gặp vấn đề này một lần, khi tôi đang sử dụng UltraSurf. –

+0

không. không có proxy nào liên quan đến – OWADVL

+0

cách chữ ký đơn đăng ký của bạn? –

Trả lời

1

giải pháp:

  • biên dịch nó & xuất dự án dưới linux (eclipse)
  • chuyển sang InteliJ Studio (khuyến)

có vẻ như theo thời thời gian có một vấn đề với nhật thực dưới cửa sổ 7,8

3

following points are need to be taken care of while uploading file on android market

"android:versionCode" attribute from AndroidManifest.xml is proper. "android:versionName" attribute from AndroidManifest.xml is proper. The package name is very unique,. Because all the apps on android market are separated by the package.

see all this is in place....

lấy từ while uploading file to android market error

+0

không. vẫn không làm việc.... – OWADVL

2

OPTION # 1: Làm chậm một đọc lại từng bước. (Source).

Basic Setup for Signing.

Before you begin, make sure that the Keytool utility and Jarsigner utility are available to the SDK build tools. Both of these tools are available in the JDK. In most cases, you can tell the SDK build tools how to find these utilities by setting your JAVA_HOME environment variable so it references a suitable JDK. Alternatively, you can add the JDK version of Keytool and Jarsigner to your PATH variable.

...

Eclipse Users

If you are developing in Eclipse/ADT (and have set up Keytool and Jarsigner as described above in Basic Setup for Signing), signing in debug mode is enabled by default. When you run or debug your application, ADT signs the .apk file with the debug certificate, runs zipalign on the package, then installs it on the selected emulator or connected device. No specific action on your part is needed, provided ADT has access to Keytool.

OPTION # 2: Kiểm tra các tính năng theo yêu cầu của ứng dụng của bạn với một '.apk' unsigned. (Source).

You can use the aapt tool, included in the Android SDK, to determine how Google Play will filter your application, based on its declared features and permissions. To do so, run aapt with the dump badging command. This causes aapt to parse your application's manifest and apply the same rules as used by Google Play to determine the features that your application requires.

To use the tool, follow these steps:

First, build and export your application as an unsigned .apk. If you are developing in Eclipse with ADT, right-click the project and select Android Tools > Export Unsigned Application Package. Select a destination filename and path and click OK. Next, locate the aapt tool, if it is not already in your PATH. If you are using SDK Tools r8 or higher, you can find aapt in the /platform-tools/ directory. Note: You must use the version of aapt that is provided for the latest Platform-Tools component available. If you do not have the latest Platform-Tools component, download it using the Android SDK Manager.

Run aapt using this syntax:

$ aapt dump badging <path_to_exported_.apk> 
Các vấn đề liên quan