Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5974757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:59:13+00:00 2026-05-22T20:59:13+00:00

Am new to Java and Android. I am trying to install Android SDK on

  • 0

Am new to Java and Android. I am trying to install Android SDK on Debian Squeeze. I have just downloaded and setup the SDK. When I try to update the packages list I get following error.

XML verification failed for http://dl-ssl.google.com/android/repository/repository.xml.
Error: java.lang.NullPointerException

I have checked the force https to use http and this is the only error I see. Am I missing something?

I just checked my java version

kumar@gentlehow-lx:/$ java --version
java version "1.5.0"
gij (GNU libgcj) version 4.4.5
...

I tried to do a sudo update and the packages were not updated.

I fixed this by manually downloading the XML and then from XML I figured out which zip file I needed. After downloading the file I simply extracted the file and moved the extracted folder to SDK/platforms folders. The API was visible in in Installed components.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:59:14+00:00Added an answer on May 22, 2026 at 8:59 pm

    I’ve found that this seems to be an issue with the java-gcj.

    Once I installed the oracle java and stopped using java-gcj the error went away.

    You can grab the oracle java here: http://www.oracle.com/technetwork/java/javase/downloads/index.html

    Also, after installing oracle java and when using Fedora I had to issue the following two commands to get the oracle java to be the default:

    sudo alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_25/bin/java 20000
    sudo alternatives --install /usr/bin/javaws /usr/java/jdk1.6.0_25/bin/javaws 20000
    

    After installation, running ‘java -version’ should give you a simliar output to verify it installed correctly:

    java version "1.6.0_25"
    Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
    Java HotSpot(TM) Server VM (build 20.0-b11, mixed mode)
    

    Re-run the android tools and everything should work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just a warning: I'm completely new to Java and am trying to teach myself
I'm new to Java programming, I am programming Java 1.6 with Android. I have
I am new to Java programming / Android development - but I have been
Trying my hand at java and android and have run into a problem which
I am new to android/java and currently am trying to learn custom events and
I am new to Java / Android development, and I am now trying to
I'm new to Java and Android development and i'm stucked while trying to populate
I am new to Java and am trying to run a program using Eclipse.
I'm relatively new to java (specifically swing) and have recently been making some fairly
I'm very new to java and am working on my first Android app. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.