Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はアンドロイドプロジェクトを持っています。Eclipse の ADT とコマンド ラインの ant の両方から apk にリリースできます。apk ファイルは同じではありません。apkファイルを解凍して内容を比較してみました。主な違いは、classes.dex ファイルです。ADT からコンパイルされたファイルは、ant からのファイルよりも少し小さいです。
なぜ同じではないのですか?アプリをユーザーにリリースする場合、どちらが優れていますか?
Why are they not the same?-- 微妙なコンパイラ フラグの違いがあり、わずかな出力の違いにつながる可能性があります。
Why are they not the same?
Which is better when I release my app to users?-- テストを実行したバージョン。2 つの間に大きな違いはない可能性がありますが、一方のバイナリがテストされ、もう一方がテストされていない場合、テストされていないバージョンを配布する正当な理由が必要になります (そのような理由は存在しないと思います)。
Which is better when I release my app to users?