georgiaw / Smartphone-Pentest-Framework

Repository for the Smartphone Pentest Framework (SPF)
452 stars 190 forks source link

Target id 'Google Inc.:Google APIs:4 is not valid issue #28

Closed anhnt1 closed 9 years ago

anhnt1 commented 9 years ago

Hello,

I have just installed SPF, but got "Target id 'Google Inc.:Google APIs:4 is not valid" error when creating an SPF App. I use Ubuntu 14.04 64bit. Please help. Thanks, Tuan

Output:

Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter. Buildfile: /root/Smartphone-Pentest-Framework/FrameworkAndroidApp/build.xml

BUILD FAILED /root/Smartphone-Pentest-Framework/FrameworkAndroidApp/build.xml:90: Cannot find /root/adt-bundle-linux-x86-20131030/sdk/tools/ant/build.xml imported from /root/Smartphone-Pentest-Framework/FrameworkAndroidApp/build.xml

Total time: 0 seconds

georgiaw commented 9 years ago

This happens pretty much every time Google updates their installer packages. I will get the install script fixed ASAP. Georgia On Apr 13, 2015, at 12:21 AM, anhnt1 notifications@github.com wrote:

Hello,

I have just installed SPF, but got "Target id 'Google Inc.:Google APIs:4 is not valid" error when creating an SPF App. I use Ubuntu 14.04 64bit. Please help. Thanks, Tuan

Output:

Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter. Buildfile: /root/Smartphone-Pentest-Framework/FrameworkAndroidApp/build.xml

BUILD FAILED /root/Smartphone-Pentest-Framework/FrameworkAndroidApp/build.xml:90: Cannot find /root/adt-bundle-linux-x86-20131030/sdk/tools/ant/build.xml imported from /root/Smartphone-Pentest-Framework/FrameworkAndroidApp/build.xml

Total time: 0 seconds

— Reply to this email directly or view it on GitHub.

anhnt1 commented 9 years ago

I wonder if I need to download and install adt-bundle-linux-x86-20131030 in order to build an SPF app. Please tell me. Thanks, Tuan

georgiaw commented 9 years ago

Well yeah but the installer is doing that. On Apr 14, 2015 4:48 AM, "anhnt1" notifications@github.com wrote:

I wonder if I need to download and install adt-bundle-linux-x86-20131030 in order to build an SPF app. Please tell me. Thanks, Tuan

— Reply to this email directly or view it on GitHub https://github.com/georgiaw/Smartphone-Pentest-Framework/issues/28#issuecomment-92700191 .

anhnt1 commented 9 years ago

Hello, could you tell me how I can manually fix the error? I would fix it if it is simple. Thank you.

georgiaw commented 9 years ago

you need to open android and update to the latest tools and then download android 4.0 sdk. I’ll fix the installer as soon as I get a free moment. On Apr 15, 2015, at 3:40 AM, anhnt1 notifications@github.com wrote:

Hello, could you tell me how I can manually fix the error? I would fix it if it is simple. Thank you.

— Reply to this email directly or view it on GitHub.

digitalirony commented 9 years ago

any headway on this?

georgiaw commented 9 years ago

The installer is updated. On Jul 28, 2015, at 3:31 PM, digitalirony notifications@github.com wrote:

any headway on this?

— Reply to this email directly or view it on GitHub.

digitalirony commented 9 years ago

I just tried it from the code I pulled about an hour ago. Did you make the change since then? I am still seeing this error.

georgiaw commented 9 years ago

i have no time right now. its the week before blackhat. On Jul 28, 2015, at 3:33 PM, digitalirony notifications@github.com wrote:

I just tried it from the code I pulled about an hour ago. Did you make the change since then? I am still seeing this error.

— Reply to this email directly or view it on GitHub.

georgiaw commented 9 years ago

This is fixed.