Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: A failure occurred while executing org.jetbrains.kotlin.gradle.internal

  1. #1
    Junior Member
    Join Date
    Sep 2021
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question A failure occurred while executing org.jetbrains.kotlin.gradle.internal

    The building of my android app failed with a new strange set of errors:

    The app/app/build/generated/data_binding_base_class_source_out/debug/out/com/comTest/theapp/databinding/TabPinBinding.java:48: error: illegal '.' public final com.comTest.theapp..utilsviews.MyTextView pin8;

    The class MyTextView is defined in the app/utils/views/MyTextView.kt it looks like the generator of java code makes a mistake.

    As this code is right in generated java, I don't know how to correct the error or where to begin to fix the problem.

    The application compiled fine then I did the following from the reference from this technical blog:

    * created a scratch.kt file where I needed to import some file defined in the utils folder
    * updated some stuff (Gradle plugin, targetSDK value, remove redundant dependencies) following the suggestion of android-studio. It was the usual stuff when updating android-studio internals.

    The errors appear in the file TabPinBinding.java which start with: "// Generated by view binder compiler. Do not edit!"

  2. #2
    Member Helium c2's Avatar
    Join Date
    Nov 2023
    Location
    Kekaha, Kaua'i
    Posts
    117
    Thanks
    1
    Thanked 3 Times in 3 Posts

    Default Re: A failure occurred while executing org.jetbrains.kotlin.gradle.internal

    This final class, or method, or variable which you have in the android application cannot be extended or modified. Illegal. What you're doing is not possible to modify.

Similar Threads

  1. Gradle problem
    By tsurubaso in forum Other Programming Languages
    Replies: 3
    Last Post: November 24th, 2019, 09:18 AM
  2. Gradle web application debug issue
    By simha in forum Java IDEs
    Replies: 0
    Last Post: March 31st, 2018, 02:53 AM
  3. [SOLVED] Executing cmd from Java, Compiling and Executing IN Runtime
    By Andrew R in forum What's Wrong With My Code?
    Replies: 6
    Last Post: August 9th, 2013, 10:00 AM
  4. Replies: 1
    Last Post: July 1st, 2013, 03:21 PM
  5. “Error occurred during initialization of VM” in linux VM
    By drawal in forum Member Introductions
    Replies: 0
    Last Post: March 19th, 2013, 11:16 AM

Tags for this Thread