Android SDK and Eclipse ADT on Fedora 16/15, CentOS/RHEL 6 - Comment Page: 4

This is guide howto install Android SDK Tools r16 and Eclipse ADT (Android Development Tools) Plugin on Fedora 16, Fedora 15, Fedora 14, Fedora 13, CentOS 6.2/6.1/6 and Red Hat (RHEL) 6.2/6.1/6. This Guide Contents 1. Preparing Your Development Computer and Install Required softwares 2. Install Andoid SDK 3. Install ADT Plugin for Eclipse 4. Configure Eclipse and Install Latest Android SDK with AVD Manager 5. Create Simple Android Test Project 1. Preparing Your Development Computer and Install Required softwares 1.1 Install Sun/Oracle Java 7 JDK/JRE 1.2 Install Eclipse SDK 3.7 (Indigo) 2. Install Andoid SDK 2.1 Change root user su - ## OR ## sudo...

104 comments on “Android SDK and Eclipse ADT on Fedora 16/15, CentOS/RHEL 6 - Comment Page: 4

1 2 3 4
    1. whenever i m trying to create a virtual device i m getting this erro :

      /opt/android-sdk/tools/mksdcard: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

      guys please help me……. thnks in advnc.. :)

      Reply
      • Hi Arun,

        Could you post output of following commands:

        
        uname -a
        
        cat /etc/redhat-release
        
        Reply
        • Hi JR, i am using Fedora 16 (64 bit) and logged in as ROOT .

          also i have installed 64 bit dependencies using below command:

          yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686 ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686

          Reply
          • Okay, thanks.

            Your error message claims that the libstdc++.so.6 file does not found…

            Could you post then output of following commands:

            
            rpm -qa libstdc++*
            
            ls -la /usr/lib/libstdc*
            
            ls -la /usr/lib64/libstdc*
            
            Reply
            • Hi JR, thank you for looking after my issue. please find the responses for the above commands.

              [[email protected] ~]# rpm -qa libstdc++*

              libstdc++-4.6.2-1.fc16.x86_64

              [[email protected] ~]# ls -la /usr/lib/libstdc*

              ls: cannot access /usr/lib/libstdc*: No such file or directory

              [[email protected] ~]# ls -la /usr/lib64/libstdc*

              lrwxrwxrwx. 1 root root 19 Feb 25 07:14 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.16
              -rwxr-xr-x. 1 root root 994256 Oct 27 07:43 /usr/lib64/libstdc++.so.6.0.16

              Reply
              • Hi again Arun,

                Try to install 32-bit system packages again, because your system is really missing libstdc++.so.6 / libstdc++-4.6.3-2.fc16.i686.

                
                yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686 ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686
                

                Do you get 32-bit packages installed without any errors?

                Reply
                • hello JR, sorry for d late and there is an error dat i have noticed:

                  Error: Protected multilib versions: libstdc++-4.6.3-2.fc16.i686 != libstdc++-4.6.2-1.fc16.x86_64

                  Reply
                • hello JR i have also tried to install the library from GUI add/remove programs but i m geting the same error:

                  Protected multilib versions: libstdc++-4.6.3-2.fc16.i686 != libstdc++-4.6.2-1.fc16.x86_64

                  Reply
                  • Hello Arun,

                    Try following:

                    
                    yum clean all
                    
                    yum update
                    
                    yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686 ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686
                    

                    Is it working then?

                    Reply
                    • hi JR me again… thanks a lot to you. now i am able to create the virtual device. You are really doing a great thing by sharing your knowledge. its really very helpfull for me and also for other developers out there.

                      thanks again. :)

                      Reply
                      • Hi Arun,

                        You are welcome, nice to hear that you got it working…and thanks ;)

    2. if they could make a tutorial to install android SDK and NetBeans 7.2 centos 6

      Reply
    3. in 2.4 How can do it I’m new in this

      Reply
      • Hi raed,

        Open /etc/profile or $HOME/.bash_profile file using text editor, example VI or nano. Then just paste needed rows and save file.

        Reply
    4. Hey,

      FIRST THANK YOU FOR YOUR GREAT WORK HERE!!!!

      Now, my problem:

      During some days of working with fedora 17 (last updates) and eclipse + adt and jdk7
      i have a freeze problem.

      I `v tried some things like start as root user set the jvm memory
      from 512 to 1024 via start propertys of eclipse and so on.
      Now i`ve seen that the CPU usage of the java process goes very nearly to 100%.
      Eclipse freeze and I have to restart eclipse. The OS and GNOME works.

      Has someone the same problems? Or some Ideas what to do?

      PS: dmesg and other logs show no error or warnings.

      Thanks Thorty!

      Hardware:
      Intel Core 2 Extreme QX9300 (2,53 GHz)
      4GB RAM
      Geforce 9700M GT, 512 MB
      (NVIDIA Driver installed)

      Reply
      • I have a solution! Im so happy and its soooooo easy! After some coding and google I`ve found out that it has something to do with the Clipboard Function (Ctrl+C). You just have to navigate to Preferences – Keys. Search for the Shortcut Strg+Insert and Change this into Strg+C.
        I`dont reallyBut now, Eclipse works very well.

        Thanks, Thorty

        Reply
    5. Thanks a lot ,it solved my problem in centos7.i just download the following library into my system and i come through from the ADT problem and R file is generated.

      Reply
    6. Can you make new post this with Android Studio and QEMU EMULATOR for Fedora ?

      Reply
1 2 3 4

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close