lu6id

Gradle build error Console Output

Dec 28th, 2024
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. $ ./gradlew build 1 ↵ ✖ ✹ ✭main
  2.  
  3. > Task :patches:compileKotlin FAILED
  4. e: file:///home/zero/pjs/apk-mod/rp/revanced-patches/patches/src/main/kotlin/app/revanced/patches/all/deviceadmin/MakeDeviceAdminPatch.kt:5:35 Unresolved reference 'smaliPatch'.
  5. e: file:///home/zero/pjs/apk-mod/rp/revanced-patches/patches/src/main/kotlin/app/revanced/patches/all/deviceadmin/MakeDeviceAdminPatch.kt:6:21 Unresolved reference 'util'.
  6. e: file:///home/zero/pjs/apk-mod/rp/revanced-patches/patches/src/main/kotlin/app/revanced/patches/all/deviceadmin/MakeDeviceAdminPatch.kt:10:24 Cannot access 'constructor<C : PatchContext<*>>(name: String?, description: String?, use: Boolean, dependencies: Set<Patch<*>>, compatiblePackages: Set<Package>?, options: Set<Option<*>>, executeBlock: (C) -> Unit, finalizeBlock: ((C) -> Unit)?): Patch<C>': it is protected in 'app/revanced/patcher/patch/Patch'.
  7. e: file:///home/zero/pjs/apk-mod/rp/revanced-patches/patches/src/main/kotlin/app/revanced/patches/all/deviceadmin/MakeDeviceAdminPatch.kt:14:3 Cannot infer type for this parameter. Please specify it explicitly.
  8. e: file:///home/zero/pjs/apk-mod/rp/revanced-patches/patches/src/main/kotlin/app/revanced/patches/all/deviceadmin/MakeDeviceAdminPatch.kt:67:5 Unresolved reference 'smaliPatch'.
  9. e: file:///home/zero/pjs/apk-mod/rp/revanced-patches/patches/src/main/kotlin/app/revanced/patches/all/deviceadmin/MakeDeviceAdminPatch.kt:68:9 Unresolved reference 'execute'.
  10. e: file:///home/zero/pjs/apk-mod/rp/revanced-patches/patches/src/main/kotlin/app/revanced/patches/all/deviceadmin/MakeDeviceAdminPatch.kt:70:31 Unresolved reference 'Utils'.
  11. e: file:///home/zero/pjs/apk-mod/rp/revanced-patches/patches/src/main/kotlin/app/revanced/patches/all/deviceadmin/MakeDeviceAdminPatch.kt:71:34 Unresolved reference 'get'.
  12. e: file:///home/zero/pjs/apk-mod/rp/revanced-patches/patches/src/main/kotlin/app/revanced/patches/all/deviceadmin/MakeDeviceAdminPatch.kt:73:13 Overload resolution ambiguity between candidates:
  13. constructor(p0: String!): File
  14. constructor(p0: URI!): File
  15. e: file:///home/zero/pjs/apk-mod/rp/revanced-patches/patches/src/main/kotlin/app/revanced/patches/all/deviceadmin/MakeDeviceAdminPatch.kt:73:34 Unresolved reference. None of the following candidates is applicable because of a receiver type mismatch:
  16. @InlineOnly() fun <T> T.apply(block: T.() -> Unit): T
  17. [R|Contract description]
  18. <
  19. CallsInPlace(block, EXACTLY_ONCE)
  20. >
  21. e: file:///home/zero/pjs/apk-mod/rp/revanced-patches/patches/src/main/kotlin/app/revanced/patches/all/deviceadmin/MakeDeviceAdminPatch.kt:73:40 Cannot infer type for this parameter. Please specify it explicitly.
  22.  
  23. FAILURE: Build failed with an exception.
  24.  
  25. * What went wrong:
  26. Execution failed for task ':patches:compileKotlin'.
  27. > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
  28. > Compilation error. See log for more details
  29.  
  30. * Try:
  31. > Run with --stacktrace option to get the stack trace.
  32. > Run with --info or --debug option to get more log output.
  33. > Run with --scan to get full insights.
  34. > Get more help at https://help.gradle.org.
  35.  
  36. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
  37.  
  38. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
  39.  
  40. For more on this, please refer to https://docs.gradle.org/8.9/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
  41.  
  42. BUILD FAILED in 43s
Add Comment
Please, Sign In to add comment