Lines Matching full:error
48 fprintf(stderr, "ERROR: '%s' not found\n", fileName);
50 fprintf(stderr, "ERROR: '%s' access denied\n", fileName);
52 fprintf(stderr, "ERROR: failed opening '%s' as Zip file\n",
130 fprintf(stderr, "ERROR: specify zip file name (only)\n");
192 fprintf(stderr, "ERROR: list -a failed because assets could not be loaded\n");
365 fprintf(stderr, "ERROR: no dump option specified\n");
370 fprintf(stderr, "ERROR: no dump file specified\n");
380 fprintf(stderr, "ERROR: dump failed because assets could not be loaded\n");
386 fprintf(stderr, "ERROR: dump failed because no resource table was found\n");
395 fprintf(stderr, "ERROR: no dump xmltree resource file specified\n");
404 fprintf(stderr, "ERROR: dump failed because resource %s found\n", resname);
410 fprintf(stderr, "ERROR: Resource %s is corrupt\n", resname);
422 fprintf(stderr, "ERROR: no dump xmltree resource file specified\n");
431 fprintf(stderr, "ERROR: dump failed because resource %s found\n", resname);
437 fprintf(stderr, "ERROR: Resource %s is corrupt\n", resname);
450 fprintf(stderr, "ERROR: dump failed because no AndroidManifest.xml found\n");
456 fprintf(stderr, "ERROR: AndroidManifest.xml is corrupt\n");
478 fprintf(stderr, "ERROR: manifest does not start with <manifest> tag\n");
484 String8 error;
485 String8 name = getAttribute(tree, NAME_ATTR, &error);
486 if (error != "") {
487 fprintf(stderr, "ERROR: %s\n", error.string());
492 String8 error;
493 String8 name = getAttribute(tree, NAME_ATTR, &error);
494 if (error != "") {
495 fprintf(stderr, "ERROR: %s\n", error.string());
505 String8 error;
629 fprintf(stderr, "ERROR: manifest does not start with <manifest> tag\n");
634 int32_t versionCode = getIntegerAttribute(tree, VERSION_CODE_ATTR, &error);
635 if (error != "") {
636 fprintf(stderr, "ERROR getting 'android:versionCode' attribute: %s\n", error.string());
644 String8 versionName = getResolvedAttribute(&res, tree, VERSION_NAME_ATTR, &error);
645 if (error != "") {
646 fprintf(stderr, "ERROR getting 'android:versionName' attribute: %s\n", error.string());
654 String8 label = getResolvedAttribute(&res, tree, LABEL_ATTR, &error);
655 if (error != "") {
656 fprintf(stderr, "ERROR getting 'android:label' attribute: %s\n", error.string());
660 String8 icon = getResolvedAttribute(&res, tree, ICON_ATTR, &error);
661 if (error != "") {
662 fprintf(stderr, "ERROR getting 'android:icon' attribute: %s\n", error.string());
666 int32_t testOnly = getIntegerAttribute(tree, TEST_ONLY_ATTR, &error, 0);
667 if (error != "") {
668 fprintf(stderr, "ERROR getting 'android:testOnly' attribute: %s\n", error.string());
675 int32_t code = getIntegerAttribute(tree, MIN_SDK_VERSION_ATTR, &error);
676 if (error != "") {
677 error = "";
678 String8 name = getResolvedAttribute(&res, tree, MIN_SDK_VERSION_ATTR, &error);
679 if (error != "") {
680 fprintf(stderr, "ERROR getting 'android:minSdkVersion' attribute: %s\n",
681 error.string());
694 code = getIntegerAttribute(tree, TARGET_SDK_VERSION_ATTR, &error);
695 if (error != "") {
696 error = "";
697 String8 name = getResolvedAttribute(&res, tree, TARGET_SDK_VERSION_ATTR, &error);
698 if (error != "") {
699 fprintf(stderr, "ERROR getting 'android:targetSdkVersion' attribute: %s\n",
700 error.string());
740 int32_t dens = getIntegerAttribute(tree, DENSITY_ATTR, &error);
741 if (error != "") {
742 fprintf(stderr, "ERROR getting 'android:density' attribute: %s\n",
743 error.string());
755 String8 name = getAttribute(tree, NAME_ATTR, &error);
757 if (name != "" && error == "") {
804 GL_ES_VERSION_ATTR, &error);
805 if (error == "") {
810 String8 name = getAttribute(tree, NAME_ATTR, &error);
811 if (name != "" && error == "") {
847 fprintf(stderr, "ERROR getting 'android:name' attribute: %s\n",
848 error.string());
852 String8 name = getAttribute(tree, NAME_ATTR, &error);
853 if (name != "" && error == "") {
856 fprintf(stderr, "ERROR getting 'android:name' attribute: %s\n",
857 error.string());
868 activityName = getAttribute(tree, NAME_ATTR, &error);
869 if (error != "") {
870 fprintf(stderr, "ERROR getting 'android:name' attribute: %s\n", error.string());
874 activityLabel = getResolvedAttribute(&res, tree, LABEL_ATTR, &error);
875 if (error != "") {
876 fprintf(stderr, "ERROR getting 'android:label' attribute: %s\n", error.string());
880 activityIcon = getResolvedAttribute(&res, tree, ICON_ATTR, &error);
881 if (error != "") {
882 fprintf(stderr, "ERROR getting 'android:icon' attribute: %s\n", error.string());
886 String8 libraryName = getAttribute(tree, NAME_ATTR, &error);
887 if (error != "") {
888 fprintf(stderr, "ERROR getting 'android:name' attribute for uses-library: %s\n", error.string());
897 receiverName = getAttribute(tree, NAME_ATTR, &error);
899 if (error != "") {
900 fprintf(stderr, "ERROR getting 'android:name' attribute for receiver: %s\n", error.string());
905 serviceName = getAttribute(tree, NAME_ATTR, &error);
907 if (error != "") {
908 fprintf(stderr, "ERROR getting 'android:name' attribute for service: %s\n", error.string());
919 action = getAttribute(tree, NAME_ATTR, &error);
920 if (error != "") {
921 fprintf(stderr, "ERROR getting 'android:name' attribute: %s\n", error.string());
946 String8 category = getAttribute(tree, NAME_ATTR, &error);
947 if (error != "") {
948 fprintf(stderr, "ERROR getting 'name' attribute: %s\n", error.string());
1137 fprintf(stderr, "ERROR: unknown dump option '%s'\n", option);
1164 fprintf(stderr, "ERROR: can't use '-u' with add\n");
1169 fprintf(stderr, "ERROR: must specify zip file name\n");
1181 fprintf(stderr, "ERROR: failed opening/creating '%s' as Zip file\n", zipFileName);
1232 fprintf(stderr, "ERROR: must specify zip file name\n");
1244 fprintf(stderr, "ERROR: failed opening Zip archive '%s'\n",
1301 fprintf(stderr, "ERROR: no input files\n");
1313 "ERROR: output file '%s' exists but is not regular file\n",
1376 fprintf(stderr, "ERROR: packaging of '%s' failed\n", outputAPKFile);