简体   繁体   中英

Can't launch eclipse from adt bundle in ubuntu 12.04

So I downloaded the adt bundle for linux from developer.android.com extracted it, 32bit version, went to adt-bundle-linux-x86/eclipse tried to launch eclipse but it's giving me an error

Could not display "/media/ACF3-BA90/adt-bundle-linux-x86/eclipse/eclipse". There is no application installed for executable files. Do you want to search... blabla..

I'm pretty much new to linux and ubuntu... so can someone please help me fix this? :P

EDIT: The problem was caused because I had it extracted on removable media and Allow executing file as program (Properties -> Permissions) still didn't fix the problem, so I had to transfer it to my (static) Linux partition. That fixed the problem.

I came across the same problem these days when i attempted to write cocos2d-x games with adt-bundle-linux. Now I finally fix that after googling around for hours. It turns out that this has nothing to do with adt-bundle-linux. The truth is that linux security settings result in such situations. It disables any executable file from other sources (in this case, it comes from the Internet and linux regards it as dangerous and unreliable files). Simply right click the eclipse and choose "properties", then go to the "Permission" tab and check "Allow executing file as program". Hope this will help you.^_^

It seems you have installed to some sort of removable media and therefore your install could have bad references for eclipse's files.

I would recommend you install Eclipse from Ubuntu's Software Manager and install the SDK from Eclipse's Plugin Manager.

Here's the tutorial for the SDK:

http://developer.android.com/sdk/installing/installing-adt.html

Cheers!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM