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 8035759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:24:22+00:00 2026-06-05T02:24:22+00:00

Possible Duplicate: Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please

  • 0

Possible Duplicate:
Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties

I have added this line of code to my android app:

ArrayList<hashmap<string, string="">> mylist = new ArrayList<hashmap<string, string="">>();

it has worked in other peoples apps but on mine it comes up with a red cross next to is which when I hover over it says:

Multiple markers at this line
- Syntax error on token ">>", invalid AssignmentOperator
- Syntax error on token ",", TypeArgument2 expected after this token
- Syntax error on tokens, delete these tokens

I also have a error displayed on the console:

Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties.

I have tried:

project -> android tools -> fix project properties,

project -> clean,

project -> properties -> java compiler -> compiler compliance level (currently set at 1.5 but have tried 1.6 and 1.7 and no fix)

Please help 🙁

  • 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-06-05T02:24:24+00:00Added an answer on June 5, 2026 at 2:24 am

    First ,You Should Read Java Collections And Generics

    ArrayList<HashMap<String, String>> mylist = new ArrayList<HashMap<String,String>>();
    

    and set Compliance level 1.6, because 1.7 is not compatable yet. Java 1.5 gives @Override anotation error. Because @Override introduced in 1.6.

    project -> properties -> java compiler -> compiler compliance level->Set it at 1.6 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please
Possible Duplicate: Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please
Possible Duplicate: Android: trouble updating to Android SDK Tools, revision 7 I'm trying to
Possible Duplicate: Android: automatically choose debug/release Maps api key? I use MapView in my
Possible Duplicate: Developing for Android in Eclipse: R.java not generating I cleaned my project
Possible Duplicate: Android NoSuchAlgorithmException: SSLContext SSL implementation not found Has anybody experience with this
Possible Duplicate: Check orientation on Android phone I am writing an app that requires
Possible Duplicate: Android Service makes Activity not responding I use service to synchronize data
Possible Duplicate: Android Button Tooltip Is there any way to construct a view where
Possible Duplicate: Android Eclipse Plugin Too Slow I'm an Android programmer and when programming

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.