Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
03/09/12 04:47 PM (13 years ago)

Errors when Compile using new panel for BT1.5

430 errors and 936 warnings occurred. The old site seems to work correctly. Below is the first 100 errors I got from eclipse. I'm using Google API(Android 1.6) as instructed from readme. Error message ACTION_MASK cannot be resolved or is not a field line 1031 Java Problem ACTION_POINTER_DOWN cannot be resolved or is not a field line 1042 Java Problem ACTION_POINTER_UP cannot be resolved or is not a field line 1065 Java Problem error: Error: String types not allowed (at 'layout_height' with value 'match_parent'). line 2 Android AAPT Problem FEATURE_CAMERA cannot be resolved or is not a field line 145 Java Problem FEATURE_TELEPHONY cannot be resolved or is not a field line 117 Java Problem R cannot be resolved to a variable BT_act_controller.java line 86/122/190/193/309/349/352/356/383/386/390/410/413/417 Java Problem R cannot be resolved to a variable BT_activity_base.java line 154/282/297/349/350/351/352/360/372/382/397/ Java Problem R cannot be resolved to a variable BT_activity_root.java line 172/205/236/258/284/342/487 Java Problem R cannot be resolved to a variable BT_activity_root_tabs.java line 99/215 Java Problem R cannot be resolved to a variable BT_progressSpinner.java line 46 Java Problem R cannot be resolved to a variable BT_screen_audio.java line 63/82/193/206/229/231 Java Problem R cannot be resolved to a variable BT_screen_customHTML.java line 91/110/113/135/138/162/256/259/286/293/436/447/455/456/457/460/470/475/487/488/489/492/499/503/508/556/568/581 Java Problem
 
chrspe
Android Fan
Profile
Posts: 95
Reg: Jan 07, 2012
Buffalo, WY
5,400
like
03/09/12 09:17 PM (13 years ago)
I think v1.5 uses Google API 2.2
 
Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
like
03/09/12 10:52 PM (13 years ago)
Chrspe, you're right, it works on Google API 2.2. Thanks!
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
03/10/12 09:56 AM (13 years ago)
I am getting a similar error (seen below). I am using Google API 2.2. Eclipse says that I must fix errors before running. I am new to Eclipse. Any ideas? ERROR: Unknown command 'crunch' Android Asset Packaging Tool Usage: aapt l[ist] [-v] [-a] file.{zip,jar,apk List contents of Zip-compatible archive. aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]] badging Print the label and icon for the app declared in APK. permissions Print the permissions from the APK. resources Print the resource table from the APK. configurations Print the configurations in the APK. xmltree Print the compiled xmls in the given assets. xmlstrings Print the strings of the given compiled xml assets. aapt p[ackage] [-d][-f][-m][-u][-v][-x][-z][-M AndroidManifest.xml] \ [-0 extension [-0 extension ...]] [-g tolerance] [-j jarfile] \ [--debug-mode] [--min-sdk-version VAL] [--target-sdk-version VAL] \ [--app-version VAL] [--app-version-name TEXT] [--custom-package VAL] \ [ [--rename-manifest-package PACKAGE] \ [--rename-instrumentation-target-package PACKAGE] \ [--utf16] [--auto-add-overlay] \ [--max-res-version VAL] \ [-I base-package [-I base-package ...]] \ [-A asset-source-dir] [-G class-list-file] [-P public-definitions-file] \ [-S resource-sources [-S resource-sources ...]] [-F apk-file] [-J R-file-dir] \ [--product product1,product2,...] \ [raw-files-dir [raw-files-dir] ...] Package the android resources. It will read assets and resources that are [ supplied with the -M -A -S or raw-files-dir arguments. The -J -P -F and -R [ options control which files are output. aapt r[emove] [-v] file.{zip,jar,apk} file1 [file2 ...] Delete specified files from Zip-compatible archive. aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...] [ Add specified files to Zip-compatible archive. aapt v[ersion] Print program version.
 

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.