Discussion Forums  >  Uncategorized

Replies: 3    Views: 354

Xetere
Veteran developer
Profile
Posts: 3
Reg: Dec 28, 2011
Nieuw Amsterdam
30
01/03/12 01:12 PM (14 years ago)

first buzzflash 1.4 project errors, resource.ap_ does not exist and unparsed aapt error(s)!

Greetings!!! Am enjoying the Buzztouch experience, but alas I am having a problem with my first export. Export is 1.4 and a fairly straightforward app. The two errors I am getting are as follows. Error generating final archive:java.io.FileNotFoundException c:\users\<my workspace>\buzztouch\bin\resources.ap_ does not exist Unparsed aapt error(s)! Check the console for output. (my console output will be @ bottom since it is large) While Eclipse is eclipse, I have been running and compiling both java and android apps from it, but this is first buzztouch. never got an error like this! At least my manifest.xml survived the transporter beam to my desktop. So far I've tried the obvious, such as; 1. closing and re-opening eclipse. 2. flushing eclipses cache 3. deleting project, downloading again, and installing new project. The first line of the console output is ERROR: Unknown command 'crunch' so my hypothesis is that there is some setting or package that I need for buzztouch that I might not have needed for general android work, but I don't know what that is or if that is correct. Any help is greatly, greatly appreciated. Been lurking a bit and there are very knowledgeable people here. console output [2012-01-03 15:02:35 - buzztouch] ERROR: Unknown command 'crunch' [2012-01-03 15:02:35 - buzztouch] Android Asset Packaging Tool [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] Usage: [2012-01-03 15:02:35 - buzztouch] aapt l[ist] [-v] [-a] file.{zip,jar,apk} [2012-01-03 15:02:35 - buzztouch] List contents of Zip-compatible archive. [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]] [2012-01-03 15:02:35 - buzztouch] badging Print the label and icon for the app declared in APK. [2012-01-03 15:02:35 - buzztouch] permissions Print the permissions from the APK. [2012-01-03 15:02:35 - buzztouch] resources Print the resource table from the APK. [2012-01-03 15:02:35 - buzztouch] configurations Print the configurations in the APK. [2012-01-03 15:02:35 - buzztouch] xmltree Print the compiled xmls in the given assets. [2012-01-03 15:02:35 - buzztouch] xmlstrings Print the strings of the given compiled xml assets. [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] aapt p[ackage] [-d][-f][-m][-u][-v][-x][-z][-M AndroidManifest.xml] \ [2012-01-03 15:02:35 - buzztouch] [-0 extension [-0 extension ...]] [-g tolerance] [-j jarfile] \ [2012-01-03 15:02:35 - buzztouch] [--debug-mode] [--min-sdk-version VAL] [--target-sdk-version VAL] \ [2012-01-03 15:02:35 - buzztouch] [--app-version VAL] [--app-version-name TEXT] [--custom-package VAL] \ [2012-01-03 15:02:35 - buzztouch] [--rename-manifest-package PACKAGE] \ [2012-01-03 15:02:35 - buzztouch] [--rename-instrumentation-target-package PACKAGE] \ [2012-01-03 15:02:35 - buzztouch] [--utf16] [--auto-add-overlay] \ [2012-01-03 15:02:35 - buzztouch] [--max-res-version VAL] \ [2012-01-03 15:02:35 - buzztouch] [-I base-package [-I base-package ...]] \ [2012-01-03 15:02:35 - buzztouch] [-A asset-source-dir] [-G class-list-file] [-P public-definitions-file] \ [2012-01-03 15:02:35 - buzztouch] [-S resource-sources [-S resource-sources ...]] [-F apk-file] [-J R-file-dir] \ [2012-01-03 15:02:35 - buzztouch] [--product product1,product2,...] \ [2012-01-03 15:02:35 - buzztouch] [raw-files-dir [raw-files-dir] ...] [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] Package the android resources. It will read assets and resources that are [2012-01-03 15:02:35 - buzztouch] supplied with the -M -A -S or raw-files-dir arguments. The -J -P -F and -R [2012-01-03 15:02:35 - buzztouch] options control which files are output. [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] aapt r[emove] [-v] file.{zip,jar,apk} file1 [file2 ...] [2012-01-03 15:02:35 - buzztouch] Delete specified files from Zip-compatible archive. [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...] [2012-01-03 15:02:35 - buzztouch] Add specified files to Zip-compatible archive. [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] aapt v[ersion] [2012-01-03 15:02:35 - buzztouch] Print program version. [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] Modifiers: [2012-01-03 15:02:35 - buzztouch] -a print Android-specific data (resources, manifest) when listing [2012-01-03 15:02:35 - buzztouch] -c specify which configurations to include. The default is all [2012-01-03 15:02:35 - buzztouch] configurations. The value of the parameter should be a comma [2012-01-03 15:02:35 - buzztouch] separated list of configuration values. Locales should be specified [2012-01-03 15:02:35 - buzztouch] as either a language or language-region pair. Some examples: [2012-01-03 15:02:35 - buzztouch] en [2012-01-03 15:02:35 - buzztouch] port,en [2012-01-03 15:02:35 - buzztouch] port,land,en_US [2012-01-03 15:02:35 - buzztouch] If you put the special locale, zz_ZZ on the list, it will perform [2012-01-03 15:02:35 - buzztouch] pseudolocalization on the default locale, modifying all of the [2012-01-03 15:02:35 - buzztouch] strings so you can look for strings that missed the [2012-01-03 15:02:35 - buzztouch] internationalization process. For example: [2012-01-03 15:02:35 - buzztouch] port,land,zz_ZZ [2012-01-03 15:02:35 - buzztouch] -d one or more device assets to include, separated by commas [2012-01-03 15:02:35 - buzztouch] -f force overwrite of existing files [2012-01-03 15:02:35 - buzztouch] -g specify a pixel tolerance to force images to grayscale, default 0 [2012-01-03 15:02:35 - buzztouch] -j specify a jar or zip file containing classes to include [2012-01-03 15:02:35 - buzztouch] -k junk path of file(s) added [2012-01-03 15:02:35 - buzztouch] -m make package directories under location specified by -J [2012-01-03 15:02:35 - buzztouch] -u update existing packages (add new, replace older, remove deleted files) [2012-01-03 15:02:35 - buzztouch] -v verbose output [2012-01-03 15:02:35 - buzztouch] -x create extending (non-application) resource IDs [2012-01-03 15:02:35 - buzztouch] -z require localization of resource attributes marked with [2012-01-03 15:02:35 - buzztouch] localization=suggested [2012-01-03 15:02:35 - buzztouch] -A additional directory in which to find raw asset files [2012-01-03 15:02:35 - buzztouch] -G A file to output proguard options into. [2012-01-03 15:02:35 - buzztouch] -F specify the apk file to output [2012-01-03 15:02:35 - buzztouch] -I add an existing package to base include set [2012-01-03 15:02:35 - buzztouch] -J specify where to output R.java resource constant definitions [2012-01-03 15:02:35 - buzztouch] -M specify full path to AndroidManifest.xml to include in zip [2012-01-03 15:02:35 - buzztouch] -P specify where to output public resource definitions [2012-01-03 15:02:35 - buzztouch] -S directory in which to find resources. Multiple directories will be scanned [2012-01-03 15:02:35 - buzztouch] and the first match found (left to right) will take precedence. [2012-01-03 15:02:35 - buzztouch] -0 specifies an additional extension for which such files will not [2012-01-03 15:02:35 - buzztouch] be stored compressed in the .apk. An empty string means to not [2012-01-03 15:02:35 - buzztouch] compress any files at all. [2012-01-03 15:02:35 - buzztouch] --debug-mode [2012-01-03 15:02:35 - buzztouch] inserts android:debuggable=true in to the application node of the [2012-01-03 15:02:35 - buzztouch] manifest, making the application debuggable even on production devices. [2012-01-03 15:02:35 - buzztouch] --min-sdk-version [2012-01-03 15:02:35 - buzztouch] inserts android:minSdkVersion in to manifest. If the version is 7 or [2012-01-03 15:02:35 - buzztouch] higher, the default encoding for resources will be in UTF-8. [2012-01-03 15:02:35 - buzztouch] --target-sdk-version [2012-01-03 15:02:35 - buzztouch] inserts android:targetSdkVersion in to manifest. [2012-01-03 15:02:35 - buzztouch] --max-res-version [2012-01-03 15:02:35 - buzztouch] ignores versioned resource directories above the given value. [2012-01-03 15:02:35 - buzztouch] --values [2012-01-03 15:02:35 - buzztouch] when used with dump resources also includes resource values. [2012-01-03 15:02:35 - buzztouch] --version-code [2012-01-03 15:02:35 - buzztouch] inserts android:versionCode in to manifest. [2012-01-03 15:02:35 - buzztouch] --version-name [2012-01-03 15:02:35 - buzztouch] inserts android:versionName in to manifest. [2012-01-03 15:02:35 - buzztouch] --custom-package [2012-01-03 15:02:35 - buzztouch] generates R.java into a different package. [2012-01-03 15:02:35 - buzztouch] --auto-add-overlay [2012-01-03 15:02:35 - buzztouch] Automatically add resources that are only in overlays. [2012-01-03 15:02:35 - buzztouch] --rename-manifest-package [2012-01-03 15:02:35 - buzztouch] Rewrite the manifest so that its package name is the package name [2012-01-03 15:02:35 - buzztouch] given here. Relative class names (for example .Foo) will be [2012-01-03 15:02:35 - buzztouch] changed to absolute names with the old package so that the code [2012-01-03 15:02:35 - buzztouch] does not need to change. [2012-01-03 15:02:35 - buzztouch] --rename-instrumentation-target-package [2012-01-03 15:02:35 - buzztouch] Rewrite the manifest so that all of its instrumentation [2012-01-03 15:02:35 - buzztouch] components target the given package. Useful when used in [2012-01-03 15:02:35 - buzztouch] conjunction with --rename-manifest-package to fix tests against [2012-01-03 15:02:35 - buzztouch] a package that has been renamed. [2012-01-03 15:02:35 - buzztouch] --product [2012-01-03 15:02:35 - buzztouch] Specifies which variant to choose for strings that have [2012-01-03 15:02:35 - buzztouch] product variants [2012-01-03 15:02:35 - buzztouch] --utf16 [2012-01-03 15:02:35 - buzztouch] changes default encoding for resources to UTF-16. Only useful when API [2012-01-03 15:02:35 - buzztouch] level is set to 7 or higher where the default encoding is UTF-8. [2012-01-03 15:02:35 - buzztouch] --non-constant-id [2012-01-03 15:02:35 - buzztouch] Make the resources ID non constant. This is required to make an R java class [2012-01-03 15:02:35 - buzztouch] that does not contain the final value but is used to make reusable compiled [2012-01-03 15:02:35 - buzztouch] libraries that need to access resources. [2012-01-03 15:02:35 - buzztouch] ERROR: Unknown option '--no-crunch' [2012-01-03 15:02:35 - buzztouch] Android Asset Packaging Tool [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] Usage: [2012-01-03 15:02:35 - buzztouch] aapt l[ist] [-v] [-a] file.{zip,jar,apk} [2012-01-03 15:02:35 - buzztouch] List contents of Zip-compatible archive. [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]] [2012-01-03 15:02:35 - buzztouch] badging Print the label and icon for the app declared in APK. [2012-01-03 15:02:35 - buzztouch] permissions Print the permissions from the APK. [2012-01-03 15:02:35 - buzztouch] resources Print the resource table from the APK. [2012-01-03 15:02:35 - buzztouch] configurations Print the configurations in the APK. [2012-01-03 15:02:35 - buzztouch] xmltree Print the compiled xmls in the given assets. [2012-01-03 15:02:35 - buzztouch] xmlstrings Print the strings of the given compiled xml assets. [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] aapt p[ackage] [-d][-f][-m][-u][-v][-x][-z][-M AndroidManifest.xml] \ [2012-01-03 15:02:35 - buzztouch] [-0 extension [-0 extension ...]] [-g tolerance] [-j jarfile] \ [2012-01-03 15:02:35 - buzztouch] [--debug-mode] [--min-sdk-version VAL] [--target-sdk-version VAL] \ [2012-01-03 15:02:35 - buzztouch] [--app-version VAL] [--app-version-name TEXT] [--custom-package VAL] \ [2012-01-03 15:02:35 - buzztouch] [--rename-manifest-package PACKAGE] \ [2012-01-03 15:02:35 - buzztouch] [--rename-instrumentation-target-package PACKAGE] \ [2012-01-03 15:02:35 - buzztouch] [--utf16] [--auto-add-overlay] \ [2012-01-03 15:02:35 - buzztouch] [--max-res-version VAL] \ [2012-01-03 15:02:35 - buzztouch] [-I base-package [-I base-package ...]] \ [2012-01-03 15:02:35 - buzztouch] [-A asset-source-dir] [-G class-list-file] [-P public-definitions-file] \ [2012-01-03 15:02:35 - buzztouch] [-S resource-sources [-S resource-sources ...]] [-F apk-file] [-J R-file-dir] \ [2012-01-03 15:02:35 - buzztouch] [--product product1,product2,...] \ [2012-01-03 15:02:35 - buzztouch] [raw-files-dir [raw-files-dir] ...] [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] Package the android resources. It will read assets and resources that are [2012-01-03 15:02:35 - buzztouch] supplied with the -M -A -S or raw-files-dir arguments. The -J -P -F and -R [2012-01-03 15:02:35 - buzztouch] options control which files are output. [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] aapt r[emove] [-v] file.{zip,jar,apk} file1 [file2 ...] [2012-01-03 15:02:35 - buzztouch] Delete specified files from Zip-compatible archive. [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...] [2012-01-03 15:02:35 - buzztouch] Add specified files to Zip-compatible archive. [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] aapt v[ersion] [2012-01-03 15:02:35 - buzztouch] Print program version. [2012-01-03 15:02:35 - buzztouch] [2012-01-03 15:02:35 - buzztouch] Modifiers: [2012-01-03 15:02:35 - buzztouch] -a print Android-specific data (resources, manifest) when listing [2012-01-03 15:02:35 - buzztouch] -c specify which configurations to include. The default is all [2012-01-03 15:02:35 - buzztouch] configurations. The value of the parameter should be a comma [2012-01-03 15:02:35 - buzztouch] separated list of configuration values. Locales should be specified [2012-01-03 15:02:35 - buzztouch] as either a language or language-region pair. Some examples: [2012-01-03 15:02:35 - buzztouch] en [2012-01-03 15:02:35 - buzztouch] port,en [2012-01-03 15:02:35 - buzztouch] port,land,en_US [2012-01-03 15:02:35 - buzztouch] If you put the special locale, zz_ZZ on the list, it will perform [2012-01-03 15:02:35 - buzztouch] pseudolocalization on the default locale, modifying all of the [2012-01-03 15:02:35 - buzztouch] strings so you can look for strings that missed the [2012-01-03 15:02:35 - buzztouch] internationalization process. For example: [2012-01-03 15:02:35 - buzztouch] port,land,zz_ZZ [2012-01-03 15:02:35 - buzztouch] -d one or more device assets to include, separated by commas [2012-01-03 15:02:35 - buzztouch] -f force overwrite of existing files [2012-01-03 15:02:35 - buzztouch] -g specify a pixel tolerance to force images to grayscale, default 0 [2012-01-03 15:02:35 - buzztouch] -j specify a jar or zip file containing classes to include [2012-01-03 15:02:35 - buzztouch] -k junk path of file(s) added [2012-01-03 15:02:35 - buzztouch] -m make package directories under location specified by -J [2012-01-03 15:02:35 - buzztouch] -u update existing packages (add new, replace older, remove deleted files) [2012-01-03 15:02:35 - buzztouch] -v verbose output [2012-01-03 15:02:35 - buzztouch] -x create extending (non-application) resource IDs [2012-01-03 15:02:35 - buzztouch] -z require localization of resource attributes marked with [2012-01-03 15:02:35 - buzztouch] localization=suggested [2012-01-03 15:02:35 - buzztouch] -A additional directory in which to find raw asset files [2012-01-03 15:02:35 - buzztouch] -G A file to output proguard options into. [2012-01-03 15:02:35 - buzztouch] -F specify the apk file to output [2012-01-03 15:02:35 - buzztouch] -I add an existing package to base include set [2012-01-03 15:02:35 - buzztouch] -J specify where to output R.java resource constant definitions [2012-01-03 15:02:35 - buzztouch] -M specify full path to AndroidManifest.xml to include in zip [2012-01-03 15:02:35 - buzztouch] -P specify where to output public resource definitions [2012-01-03 15:02:35 - buzztouch] -S directory in which to find resources. Multiple directories will be scanned [2012-01-03 15:02:35 - buzztouch] and the first match found (left to right) will take precedence. [2012-01-03 15:02:35 - buzztouch] -0 specifies an additional extension for which such files will not [2012-01-03 15:02:35 - buzztouch] be stored compressed in the .apk. An empty string means to not [2012-01-03 15:02:35 - buzztouch] compress any files at all. [2012-01-03 15:02:35 - buzztouch] --debug-mode [2012-01-03 15:02:35 - buzztouch] inserts android:debuggable=true in to the application node of the [2012-01-03 15:02:35 - buzztouch] manifest, making the application debuggable even on production devices. [2012-01-03 15:02:35 - buzztouch] --min-sdk-version [2012-01-03 15:02:35 - buzztouch] inserts android:minSdkVersion in to manifest. If the version is 7 or [2012-01-03 15:02:35 - buzztouch] higher, the default encoding for resources will be in UTF-8. [2012-01-03 15:02:35 - buzztouch] --target-sdk-version [2012-01-03 15:02:35 - buzztouch] inserts android:targetSdkVersion in to manifest. [2012-01-03 15:02:35 - buzztouch] --max-res-version [2012-01-03 15:02:35 - buzztouch] ignores versioned resource directories above the given value. [2012-01-03 15:02:35 - buzztouch] --values [2012-01-03 15:02:35 - buzztouch] when used with dump resources also includes resource values. [2012-01-03 15:02:35 - buzztouch] --version-code [2012-01-03 15:02:35 - buzztouch] inserts android:versionCode in to manifest. [2012-01-03 15:02:35 - buzztouch] --version-name [2012-01-03 15:02:35 - buzztouch] inserts android:versionName in to manifest. [2012-01-03 15:02:35 - buzztouch] --custom-package [2012-01-03 15:02:35 - buzztouch] generates R.java into a different package. [2012-01-03 15:02:35 - buzztouch] --auto-add-overlay [2012-01-03 15:02:35 - buzztouch] Automatically add resources that are only in overlays. [2012-01-03 15:02:35 - buzztouch] --rename-manifest-package [2012-01-03 15:02:35 - buzztouch] Rewrite the manifest so that its package name is the package name [2012-01-03 15:02:35 - buzztouch] given here. Relative class names (for example .Foo) will be [2012-01-03 15:02:35 - buzztouch] changed to absolute names with the old package so that the code [2012-01-03 15:02:35 - buzztouch] does not need to change. [2012-01-03 15:02:35 - buzztouch] --rename-instrumentation-target-package [2012-01-03 15:02:35 - buzztouch] Rewrite the manifest so that all of its instrumentation [2012-01-03 15:02:35 - buzztouch] components target the given package. Useful when used in [2012-01-03 15:02:35 - buzztouch] conjunction with --rename-manifest-package to fix tests against [2012-01-03 15:02:35 - buzztouch] a package that has been renamed. [2012-01-03 15:02:35 - buzztouch] --product [2012-01-03 15:02:35 - buzztouch] Specifies which variant to choose for strings that have [2012-01-03 15:02:35 - buzztouch] product variants [2012-01-03 15:02:35 - buzztouch] --utf16 [2012-01-03 15:02:35 - buzztouch] changes default encoding for resources to UTF-16. Only useful when API [2012-01-03 15:02:35 - buzztouch] level is set to 7 or higher where the default encoding is UTF-8. [2012-01-03 15:02:35 - buzztouch] --non-constant-id [2012-01-03 15:02:35 - buzztouch] Make the resources ID non constant. This is required to make an R java class [2012-01-03 15:02:35 - buzztouch] that does not contain the final value but is used to make reusable compiled [2012-01-03 15:02:35 - buzztouch] libraries that need to access resources.
 
Xetere
Veteran developer
Profile
Posts: 3
Reg: Dec 28, 2011
Nieuw Amsterdam
30
like
01/03/12 01:23 PM (14 years ago)
May have solved it. Found another thread with this issue (don't know why I saw it before posting) and am updating sdk. Working on Windows 7 and it took me a few times to remember I had to run Eclipse in Administrator mode before I would be able to have access to change the SDK. Here's hoping all will be well.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/03/12 01:27 PM (14 years ago)
Also make sure you have the correct Google API selected, as specified in the v1.4 Readme! Mark
 
Xetere
Veteran developer
Profile
Posts: 3
Reg: Dec 28, 2011
Nieuw Amsterdam
30
like
01/04/12 07:44 AM (14 years ago)
Thanks Mark, all is well now. Ready to roll. Craig
 

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.