При попытке прочесть заголовок страницы, при компиляции выскакивает такая ошибка!
Add(MainActivity,2953706,203,112)
{
}
Add(WebView,16094333,294,112)
{
Top=55
Width=490
Height=315
DefaultURL="https://forum.hiasm.com/main/"
}
Add(Button,13023604,203,175)
{
Width=490
Point(onClick)
link(onClick,11261643:doText,[])
}
Add(EditText,11261643,301,175)
{
Top=25
Width=490
link(String,16094333:Title,[])
}
Подготовка к сборке проекта...
Генерация кода целевого языка
Компоновка проекта...
Command line: Android.exe "C:\Program Files (x86)\HiAsm\Elements\android\code\Project6.java" "C:\Program Files (x86)\HiAsm\Elements\android\code" "C:\Users\Nikolay\Desktop\"
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_201\lib\tools.jar
Buildfile: C:\Program Files (x86)\HiAsm\Elements\android\code\result\build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 22.6.0
[checkenv] Installed at C:\Program Files (x86)\HiAsm\Elements\android\code\result\..\..\..\..\compiler\android
-setup:
[echo] Project Name: HiAsmMain
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 19.0.3
[echo] Resolving Build Target for HiAsmMain...
[gettarget] Project Target: Android 4.4.2
[gettarget] API level: 19
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Program Files (x86)\HiAsm\Elements\android\code\result\bin\res
[mkdir] Created dir: C:\Program Files (x86)\HiAsm\Elements\android\code\result\bin\rsObj
[mkdir] Created dir: C:\Program Files (x86)\HiAsm\Elements\android\code\result\bin\rsLibs
[mkdir] Created dir: C:\Program Files (x86)\HiAsm\Elements\android\code\result\bin\classes
[mkdir] Created dir: C:\Program Files (x86)\HiAsm\Elements\android\code\result\bin\dexedLibs
[echo] ----------
[echo] Resolving Dependencies for HiAsmMain...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[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 C:\Program Files (x86)\HiAsm\Elements\android\code\result\bin\classes
[javac] C:\Program Files (x86)\HiAsm\Elements\android\code\result\src\hiasm\hiasmproject\HiasmMain.java:31: error: cannot find symbol
[javac] ed3.setText(wv1.getTitle, TextView.BufferType.EDITABLE);
[javac] ^
[javac] symbol: variable getTitle
[javac] location: variable wv1 of type WebView
[javac] 1 error
BUILD FAILED
C:\Program Files (x86)\HiAsm\compiler\android\tools\ant\build.xml:720: The following error occurred while executing this line:
C:\Program Files (x86)\HiAsm\compiler\android\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.
Total time: 2 seconds
Сборка завершена.