Вверх ↑
Ответов: 52
Рейтинг: 0
#1: 2021-10-09 12:42:04 ЛС | профиль | цитата
И правда, ошибок куча валится


> Task :app:compileDebugJavaWithJavac FAILED
20 actionable tasks: 20 executed
Exception in thread "DisconnectableInputStream source reader" org.gradle.api.UncheckedIOException: java.io.IOException: Отказано в доступе
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:61)
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:127)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Отказано в доступе
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:255)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:98)
... 1 more
D:\#HiAsm\Android\Elements\Android\code\project\app\src\main\java\hiasm\hiasmproject\FragmentView.java:25: error: cannot find symbol
((Activity) getContext()).getSupportFragmentManager()
^
symbol: method getSupportFragmentManager()
location: class Activity
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
Сборка завершена.

Spectr20 писал(а):
При добавлении элемента Fragment в отладчик сыпятся ошибки.

Make(android)
ver(4.05 build 186)
Add(MainActivity,2953706,21,105)
{
Caption="Fragment"
link(onCreate,1016770:doSet,[(170,111)(170,293)])
}
Add(Fragment,14203061,287,238)
{
}
BEGIN_SDK
Add(FragmentEditMultiEx,3214980,21,21)
{
VarCount=#8:Fragment
link(Fragment,5364406:Fragment,[(27,279)(41,279)])
}
Add(ChildFragment,5364406,35,105)
{
Left=35
Top=105
}
Add(Button,398440,140,63)
{
Left=10
Top=10
Point(onClick)
}
Add(EditText,8746651,140,112)
{
Left=10
Top=40
}
END_SDK
Add(FragmentView,1016770,287,287)
{
Left=390
Top=255
link(Fragment,14203061:Fragment,[])
}

|
карма: 0

0