Build Android project on command line on OSX: Task 'assembleDebug' not found in root project

前端 未结 3 2197
一生所求
一生所求 2021-02-20 01:31

I\'m trying to build Android projects on the OSX (Mavericks 10.9.5) command line using this how-to: http://developer.android.com/tools/building/building-cmdline.html.

Th

3条回答
  •  被撕碎了的回忆
    2021-02-20 02:01

    Try to do this and note

    a) you need to type tools/android under Step 3 (like step 2: Execute) -- but as said the ant structure is not helpful -- not sure I can go from there

    b) I follow the advice and also ensure get the platform-tools -- I can build -- I can get that .apk -- I can adb install (I rename any existing .apk)

    Seems working!

提交回复
热议问题