local.propertiesの作成について教えてください

583 views
Skip to first unread message

zzz9

unread,
Jun 1, 2014, 7:20:09 AM6/1/14
to k9ma...@googlegroups.com
K-9Mail日本語グループのビルド手順に則って、なんとかlocal.propertiesの作成手順まで行ったのですが
最初の”cmd /c android update project --subprojects -p .”を入力すると

Error: The project either has no target set or the target is invalid.
Please provide a --target to the 'android.bat update' command.
Error: The project either has no target set or the target is invalid.
Please provide a --target to the 'android.bat update' command.

と表示されてしまいます。
始めたばかりでコマンドの意味も分かっていない様な状態で申し訳ないのですが
この場合どのような問題が考えられますでしょうか?

K-9 Mail日本語G

unread,
Jun 1, 2014, 7:27:16 AM6/1/14
to k9ma...@googlegroups.com
新井です。

恐らくandroid sdk の必要なバージョンがインストールされてないのだと思います。

少し待っていただけるなら、何が必要か整理しましょうか?
今日は帰りが深夜になると思うので明日までには確認できると思います。
>--
>このメールは Google グループのグループ「k9mail 日本語グループ」の登録者に送られています。
>このグループから退会し、グループからのメールの配信を停止するには k9mail_ja+...@googlegroups.com
>にメールを送信してください。
>その他のオプションについては、https://groups.google.com/d/optout にアクセスしてください。

--
FAQ: K9のログ取得方法は https://sites.google.com/site/k9mailja/bug-report を参照

zzz9

unread,
Jun 1, 2014, 7:38:38 AM6/1/14
to k9ma...@googlegroups.com
お早い返事をありがとうございます。
勿論待たせて頂きますので、宜しくお願いします。
SDK ManegerからはSDK ToolsとPlatform-toolsとAndroid2.3.3と4.3
それとExtraを全てインストールしました。

Koji Arai

unread,
Jun 1, 2014, 12:37:24 PM6/1/14
to k9ma...@googlegroups.com
新井です。

自分の環境には、

Android SDK Tools 22.6.3
Android SDK Platform-tools 19.0.1
Android SDK Build-tools 19.0.3
Android SDK Build-tools 18.1.1
Android SDK Build-tools 18.1

と、
Android 4.4.2 (API 19)
  SDK Platform
Android 4.3 (API 18)
  SDK Platform
Android 4.2.2 (API 17)
  SDK Platform
Android 4.0.3 (API 15)
  SDK Platform
Android Support Library 19.1

がインストールしてありました。
(実際には他にもいくつかインストールしてはいますが、
関係ないと思うので割愛します)

この中の、
Android 4.2.2 (API 17)
  SDK Platform
が必須なのではないかと思います。

これは、AndroidManifest.xml に android:targetSdkVersion="17" 
の記述があるためです。(検証していないので自信はないですが)

2014年6月1日日曜日 20時38分38秒 UTC+9 zzz9:
 試してみて、ダメだったらまたご連絡ください。

また、手順では「git checkout k9mail_ja-4.7」
と書いてありますが、今の最新はk9mail_ja-4.904になってます。

Reply all
Reply to author
Forward
0 new messages