Вверх ↑
Ответов: 199
Рейтинг: 7
#1: 2013-08-13 20:31:48 ЛС | профиль | цитата
sаmakacd, понял. У тебя примерчика не будет на компонент ProgressDialog. Делаю такcode_31589.txt
выходит при компиляции вот
Подготовка к сборке проекта...
Генерация кода целевого языка
Компоновка проекта...
Command line: Android.exe "Crogram FilesHiAsmElementsandroidcodeProject12.java" "Crogram FilesHiAsmElementsandroidcode" "UsersViNProjects"
Unable to locate tools.jar. Expected to find it in Crogram FilesJavajre7lib ools.jar
Buildfile: Crogram FilesHiAsmElementsandroidcode esultuild.xml

-set-mode-check:

-set-debug-files:

-set-debug-mode:

-debug-obfuscation-check:

-setup:
[echo] Creating output directories if needed...
[mkdir] Created dir: Crogram FilesHiAsmElementsandroidcode esultin es
[echo] Gathering info for HiAsmMain...
[setup] Android SDK Tools Revision 19
[setup] Project Target: Android 4.0.3
[setup] API level: 15
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup]
[setup] ------------------
[setup] API<=15: Adding annotations.jar to the classpath.
[setup]
[setup] ------------------
[setup] WARNING: No minSdkVersion value set. Application will install on all Android versions.

-build-setup:
[mkdir] Created dir: Crogram FilesHiAsmElementsandroidcode esultinclasses

-pre-build:

-code-gen:
[echo] ----------
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:
[javac] Compiling 3 source files to Crogram FilesHiAsmElementsandroidcode esultinclasses
[javac] Crogram FilesHiAsmElementsandroidcode esultsrchiasmhiasmprojectHiasmMain.java:21: error: no suitable constructor found for ProgressDialog(<anonymous OnClickListener>,int)
[javac] progressdlg1 = new ProgressDialog(this, ProgressDialog.THEME_TRADITIONAL);
[javac] ^
[javac] constructor ProgressDialog.ProgressDialog(Context,int) is not applicable
[javac] (actual argument <anonymous OnClickListener> cannot be converted to Context by method invocation conversion)
[javac] constructor ProgressDialog.ProgressDialog(Context) is not applicable
[javac] (actual and formal argument lists differ in length)
[javac] 1 error

BUILD FAILED
Crogram FilesHiAsmcompilerandroid oolsantuild.xml:651: The following error occurred while executing this line:
Crogram FilesHiAsmcompilerandroid oolsantuild.xml:672: Compile failed; see the compiler error output for details.

Total time: 1 second
Сборка завершена.
карма: 0

0
файлы: 1code_31589.txt [260B] [335]