DeckG
Aspiring developer
Profile
Posts: 36
Reg: Apr 18, 2012
Oamaru, New Zea...
1,810
05/30/12 06:42 PM (13 years ago)

Eclipse setup

Having great difficulty in setting up eclipse Downloaded a basic android package from buzztouch and cant seem to get eclipse to work - 184 warnings+ all java Any ideas????? Also.... [2012-05-31 13:46:04 - test] Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties. Description Resource Path Location Type AdapterView is a raw type. References to generic type AdapterView<T> should be parameterized BT_screen_menuButtons.java /test/src/com/harbortour line 887 Java Problem AdapterView is a raw type. References to generic type AdapterView<T> should be parameterized BT_screen_menuListSimple.java /test/src/com/harbortour line 382 Java Problem ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized BT_fileManager.java /test/src/com/harbortour line 189 Java Problem ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized BT_screen_menuButtons.java /test/src/com/harbortour line 1004 Java Problem Dead code BT_application.java /test/src/com/harbortour line 320 Java Problem List is a raw type. References to generic type List<E> should be parameterized BT_act_controller.java /test/src/com/harbortour line 534 Java Problem The import android.app.Activity is never used BT_activity_root_tabs.java /test/src/com/harbortour line 38 Java Problem The import android.app.Activity is never used BT_screen_splash.java /test/src/com/harbortour line 36 Java Problem The import android.app.AlertDialog is never used BT_screen_excelDoc.java /test/src/com/harbortour line 38 Java Problem The import android.app.AlertDialog is never used BT_screen_pdfDoc.java /test/src/com/harbortour line 38 Java Problem The import android.app.AlertDialog is never used BT_screen_pptDoc.java /test/src/com/harbortour line 38 Java Problem The import android.app.AlertDialog is never used BT_screen_wordDoc.java /test/src/com/harbortour line 38 Java Problem The import android.app.Dialog is never used BT_activity_root.java /test/src/com/harbortour line 40 Java Problem The import android.app.TabActivity is never used BT_activity_root.java /test/src/com/harbortour line 42 Java Problem The import android.content.pm.ApplicationInfo is never used BT_activity_base.java /test/src/com/harbortour line 42 Java Problem The import android.content.pm.ApplicationInfo is never used BT_strings.java /test/src/com/harbortour line 40 Java Problem The import android.content.pm.PackageManager is never used BT_activity_base.java /test/src/com/harbortour line 43 Java Problem The import android.content.pm.PackageManager is never used BT_strings.java /test/src/com/harbortour line 41 Java Problem The import android.content.res.AssetFileDescriptor is never used harbortour_appDelegate.java /test/src/com/harbortour line 38 Java Problem The import android.content.res.Configuration is never used BT_activity_root.java /test/src/com/harbortour line 45 Java Problem The import android.content.res.Configuration is never used BT_activity_root_tabs.java /test/src/com/harbortour line 44 Java Problem The import android.content.res.Resources is never used BT_activity_root.java /test/src/com/harbortour line 46 Java Problem The import android.graphics.Bitmap is never used BT_activity_root.java /test/src/com/harbortour line 47 Java Problem The import android.graphics.Bitmap is never used BT_activity_root_tabs.java /test/src/com/harbortour line 46 Java Problem The import android.graphics.Bitmap is never used BT_progressSpinner.java /test/src/com/harbortour line 37 Java Problem The import android.graphics.Bitmap is never used BT_screen_map.java /test/src/com/harbortour line 49 Java Problem The import android.graphics.Bitmap is never used BT_screen_menuListSimple.java /test/src/com/harbortour line 41 Java Problem The import android.graphics.Color is never used BT_activity_root.java /test/src/com/harbortour line 48 Java Problem The import android.graphics.Color is never used BT_activity_root_tabs.java /test/src/com/harbortour line 47 Java Problem The import android.graphics.Color is never used BT_screen_menuListSimple.java /test/src/com/harbortour line 42 Java Problem The import android.graphics.drawable.BitmapDrawable is never used BT_activity_root.java /test/src/com/harbortour line 49 Java Problem The import android.graphics.drawable.BitmapDrawable is never used BT_activity_root_tabs.java /test/src/com/harbortour line 48 Java Problem The import android.graphics.drawable.BitmapDrawable is never used BT_progressSpinner.java /test/src/com/harbortour line 38 Java Problem The import android.graphics.drawable.BitmapDrawable is never used BT_screen_map.java /test/src/com/harbortour line 51 Java Problem The import android.graphics.drawable.BitmapDrawable is never used BT_screen_menuListSimple.java /test/src/com/harbortour line 43 Java Problem The import android.graphics.drawable.BitmapDrawable is never used BT_viewUtilities.java /test/src/com/harbortour line 16 Java Problem The import android.graphics.drawable.Drawable is never used BT_activity_root.java /test/src/com/harbortour line 50 Java Problem The import android.graphics.Typeface is never used BT_viewUtilities.java /test/src/com/harbortour line 15 Java Problem The import android.net.Uri is never used BT_activity_base.java /test/src/com/harbortour line 49 Java Problem The import android.os.AsyncTask is never used BT_activity_root.java /test/src/com/harbortour line 51 Java Problem The import android.os.AsyncTask is never used BT_activity_root_tabs.java /test/src/com/harbortour line 50 Java Problem The import android.os.Environment is never used BT_screen_excelDoc.java /test/src/com/harbortour line 46 Java Problem The import android.os.Environment is never used BT_screen_pdfDoc.java /test/src/com/harbortour line 46 Java Problem The import android.os.Environment is never used BT_screen_pptDoc.java /test/src/com/harbortour line 46 Java Problem The import android.os.Environment is never used BT_screen_wordDoc.java /test/src/com/harbortour line 46 Java Problem The import android.os.Message is never used BT_screen_settingsDevice.java /test/src/com/harbortour line 45 Java Problem The import android.os.Message is never used BT_screen_settingsLocation.java /test/src/com/harbortour line 43 Java Problem The import android.view.animation.AlphaAnimation is never used BT_activity_root.java /test/src/com/harbortour line 60 Java Problem The import android.view.animation.AlphaAnimation is never used BT_activity_root_tabs.java /test/src/com/harbortour line 58 Java Problem The import android.view.animation.AlphaAnimation is never used BT_screen_menuListSimple.java /test/src/com/harbortour line 56 Java Problem The import android.view.animation.Animation is never used BT_screen_menuListSimple.java /test/src/com/harbortour line 57 Java Problem The import android.view.Menu is never used BT_activity_root.java /test/src/com/harbortour line 54 Java Problem The import android.view.View is never used BT_activity_root.java /test/src/com/harbortour line 55 Java Problem The import android.view.View is never used BT_activity_root_tabs.java /test/src/com/harbortour line 53 Java Problem The import android.view.View.OnClickListener is never used BT_activity_root.java /test/src/com/harbortour line 59 Java Problem The import android.view.View.OnClickListener is never used BT_activity_root_tabs.java /test/src/com/harbortour line 57 Java Problem The import android.view.ViewGroup is never used BT_activity_root.java /test/src/com/harbortour line 56 Java Problem The import android.view.ViewGroup is never used BT_activity_root_tabs.java /test/src/com/harbortour line 54 Java Problem The import android.view.ViewGroup is never used BT_screen_map.java /test/src/com/harbortour line 62 Java Problem The import android.view.WindowManager is never used BT_activity_root.java /test/src/com/harbortour line 58 Java Problem The import android.view.WindowManager is never used BT_activity_root_tabs.java /test/src/com/harbortour line 56 Java Problem The import android.widget.Button is never used BT_activity_root.java /test/src/com/harbortour line 61 Java Problem The import android.widget.FrameLayout is never used BT_screen_map.java /test/src/com/harbortour line 68 Java Problem The import android.widget.ImageButton is never used BT_activity_root.java /test/src/com/harbortour line 62 Java Problem The import android.widget.ImageButton is never used BT_activity_root_tabs.java /test/src/com/harbortour line 59 Java Problem The import android.widget.ImageView is never used BT_activity_root.java /test/src/com/harbortour line 63 Java Problem The import android.widget.ImageView is never used BT_activity_root_tabs.java /test/src/com/harbortour line 60 Java Problem The import android.widget.ImageView.ScaleType is never used BT_activity_root.java /test/src/com/harbortour line 68 Java Problem The import android.widget.ImageView.ScaleType is never used BT_activity_root_tabs.java /test/src/com/harbortour line 65 Java Problem The import android.widget.ImageView.ScaleType is never used BT_screen_menuListSimple.java /test/src/com/harbortour line 69 Java Problem The import android.widget.ListView is never used BT_viewUtilities.java /test/src/com/harbortour line 29 Java Problem The import android.widget.RelativeLayout is never used BT_color.java /test/src/com/harbortour line 34 Java Problem The import android.widget.RelativeLayout is never used BT_screen_menuListSimple.java /test/src/com/harbortour line 65 Java Problem The import android.widget.TabHost is never used BT_activity_root.java /test/src/com/harbortour line 64 Java Problem The import android.widget.TabHost.OnTabChangeListener is never used BT_activity_root.java /test/src/com/harbortour line 69 Java Problem The import android.widget.TabWidget is never used BT_activity_root.java /test/src/com/harbortour line 65 Java Problem The import android.widget.TextView is never used BT_activity_root.java /test/src/com/harbortour line 66 Java Problem The import android.widget.TextView is never used BT_activity_root_tabs.java /test/src/com/harbortour line 63 Java Problem The import android.widget.ZoomButtonsController is never used BT_screen_map.java /test/src/com/harbortour line 72 Java Problem The import android.widget.ZoomControls is never used BT_screen_map.java /test/src/com/harbortour line 73 Java Problem The import java.io.File is never used BT_activity_base.java /test/src/com/harbortour line 33 Java Problem The import java.io.FileInputStream is never used BT_screen_excelDoc.java /test/src/com/harbortour line 35 Java Problem The import java.io.FileInputStream is never used BT_screen_pdfDoc.java /test/src/com/harbortour line 35 Java Problem The import java.io.FileInputStream is never used BT_screen_pptDoc.java /test/src/com/harbortour line 35 Java Problem The import java.io.FileInputStream is never used BT_screen_wordDoc.java /test/src/com/harbortour line 35 Java Problem The import java.io.IOException is never used harbortour_appDelegate.java /test/src/com/harbortour line 33 Java Problem The import java.lang.reflect.Constructor is never used BT_activity_root.java /test/src/com/harbortour line 33 Java Problem The import java.lang.reflect.Constructor is never used BT_activity_root_tabs.java /test/src/com/harbortour line 33 Java Problem The import org.json.JSONArray is never used BT_activity_root.java /test/src/com/harbortour line 35 Java Problem The import org.json.JSONArray is never used BT_activity_root_tabs.java /test/src/com/harbortour line 35 Java Problem The import org.json.JSONArray is never used BT_screen_settingsLogIn.java /test/src/com/harbortour line 36 Java Problem The import org.json.JSONObject is never used BT_activity_root.java /test/src/com/harbortour line 36 Java Problem The import org.json.JSONObject is never used BT_activity_root_tabs.java /test/src/com/harbortour line 36 Java Problem The static field Context.CONNECTIVITY_SERVICE should be accessed in a static way BT_device.java /test/src/com/harbortour line 197 Java Problem The static field Context.LOCATION_SERVICE should be accessed in a static way BT_device.java /test/src/com/harbortour line 161 Java Problem The static field Context.TELEPHONY_SERVICE should be accessed in a static way BT_device.java /test/src/com/harbortour line 119 Java Problem The static field Context.WINDOW_SERVICE should be accessed in a static way BT_device.java /test/src/com/harbortour line 84 Java Problem The static field Context.WINDOW_SERVICE should be accessed in a static way BT_device.java /test/src/com/harbortour line 243 Java Problem The static field TelephonyManager.PHONE_TYPE_NONE should be accessed in a static way BT_device.java /test/src/com/harbortour line 134 Java Problem The static method setState(Drawable, int) from the type OverlayItem should be accessed in a static way BT_screen_map.java /test/src/com/harbortour line 730 Java Problem
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/30/12 06:51 PM (13 years ago)
Warnings are just warnings. Were you able to export the .apk? Red errors must be fixed. The Android Process article in my guide may help. www.MySkylla.com Fred
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/30/12 07:49 PM (13 years ago)
you have a compliance error which is normal everyone gets that, go to your app folder in eclipse, right click and go to android tools > fix project properties and thatll fix that
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/30/12 10:00 PM (13 years ago)
And here's a document with common Android problems and solutions, including one for this one! (Which ceerup already told you about!) http://www.buzztouch.com/resources/Common_Android_Errors_and_Solutions_v1.0.pdf Mark
 
DeckG
Aspiring developer
Profile
Posts: 36
Reg: Apr 18, 2012
Oamaru, New Zea...
1,810
like
05/30/12 10:04 PM (13 years ago)
Thanks guys, once I saw that warnings were ok to ignore, was a breeze. Have imported an app into my galaxy sII with no issues! Now to have some fun!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.