ComponentProcessor.java uses or overrides a deprecated API

Hello everyone,

I was trying to make a simple extension by using Kodular IDE but looks my extension doesn’t compile with warnings. I have no errors in the error log.

I imported;

import android.media.MediaMetadataRetriever;
import android.graphics.BitmapFactory;
import android.graphics.Bitmap;

I found that in Error Log:

ComponentProcessingLib:
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/ComponentProcessingLib
    [javac] Compiling 25 source files to /home/Makeroid/appinventor/components/build/classes/ComponentProcessingLib
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: /home/Makeroid/appinventor/components/src/com/google/appinventor/components/scripts/ComponentProcessor.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
My code
package io.makeroid.yusufcihandemirbas.AlbumImage;

import com.google.appinventor.components.annotations.DesignerComponent;
import com.google.appinventor.components.annotations.DesignerProperty;
import com.google.appinventor.components.annotations.PropertyCategory;
import com.google.appinventor.components.annotations.SimpleEvent;
import com.google.appinventor.components.annotations.SimpleFunction;
import com.google.appinventor.components.annotations.SimpleObject;
import com.google.appinventor.components.annotations.SimpleProperty;
import com.google.appinventor.components.annotations.UsesPermissions;
import com.google.appinventor.components.common.ComponentCategory;
import com.google.appinventor.components.common.PropertyTypeConstants;
import com.google.appinventor.components.runtime.AndroidNonvisibleComponent;
import com.google.appinventor.components.runtime.ComponentContainer;

import android.media.MediaMetadataRetriever;
import android.graphics.BitmapFactory;
import android.graphics.Bitmap;

@DesignerComponent(
  version = 1,
  description = "Returns album cover image from an MP3 file.",
  category = ComponentCategory.EXTENSION,
  nonVisible = true,
  iconName = "https://ide.kodular.io/assets/logo.png")

@SimpleObject(external = true)
public final class AlbumImage extends AndroidNonvisibleComponent {

  /**
   * Creates a new component
   */
  public AlbumImage(ComponentContainer container) {
    super(container.$form());
  }

  
  @SimpleFunction(description = "A")
    public Bitmap GetImage(String filepath)              //filepath is path of music file
{
 Bitmap image;

MediaMetadataRetriever mData=new MediaMetadataRetriever();
mData.setDataSource(filepath);
     try{
            byte art[]=mData.getEmbeddedPicture();
            image=BitmapFactory.decodeByteArray(art, 0, art.length);
        }
    catch(Exception e)
        { 
           image=null;
        }
    return image;
}


}
Full error log
Buildfile: /home/Makeroid/appinventor/build.xml

extensions:

clean:

init:
    [mkdir] Created dir: /home/Makeroid/appinventor/build/buildserver
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/build
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/build/classes
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/reports
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/reports/raw
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/reports/html

common_CommonUtils:

init:
    [mkdir] Created dir: /home/Makeroid/appinventor/build/common
    [mkdir] Created dir: /home/Makeroid/appinventor/common/build
    [mkdir] Created dir: /home/Makeroid/appinventor/common/build/classes
    [mkdir] Created dir: /home/Makeroid/appinventor/common/reports
    [mkdir] Created dir: /home/Makeroid/appinventor/common/reports/raw
    [mkdir] Created dir: /home/Makeroid/appinventor/common/reports/html

CommonUtils:
    [mkdir] Created dir: /home/Makeroid/appinventor/common/build/classes/CommonUtils
    [javac] Compiling 3 source files to /home/Makeroid/appinventor/common/build/classes/CommonUtils
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
    [javac] Creating empty /home/Makeroid/appinventor/common/build/classes/CommonUtils/com/google/appinventor/common/utils/package-info.class
      [jar] Building jar: /home/Makeroid/appinventor/build/common/CommonUtils.jar
      [jar] Building jar: /home/Makeroid/appinventor/build/common/CommonUtils-gwt.jar

common_CommonVersion:

init:

CommonVersion:
    [mkdir] Created dir: /home/Makeroid/appinventor/common/build/classes/CommonVersion
    [mkdir] Created dir: /home/Makeroid/appinventor/common/build/src/com/google/appinventor/common/version
     [copy] Copying 1 file to /home/Makeroid/appinventor/common/build/src/com/google/appinventor/common/version
    [javac] Compiling 3 source files to /home/Makeroid/appinventor/common/build/classes/CommonVersion
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
    [javac] Creating empty /home/Makeroid/appinventor/common/build/classes/CommonVersion/com/google/appinventor/common/version/package-info.class
      [jar] Building jar: /home/Makeroid/appinventor/build/common/CommonVersion.jar
      [jar] Building jar: /home/Makeroid/appinventor/build/common/CommonVersion-gwt.jar

CopyToRunLibDir:
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/build/run/lib
     [copy] Copying 36 files to /home/Makeroid/appinventor/buildserver/build/run/lib

components_AndroidRuntime:

init:
    [mkdir] Created dir: /home/Makeroid/appinventor/build/components
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes
    [mkdir] Created dir: /home/Makeroid/appinventor/components/reports
    [mkdir] Created dir: /home/Makeroid/appinventor/components/reports/raw
    [mkdir] Created dir: /home/Makeroid/appinventor/components/reports/html

CommonConstants:
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/CommonConstants
    [javac] Compiling 7 source files to /home/Makeroid/appinventor/components/build/classes/CommonConstants
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/CommonConstants/com/google/appinventor/components/common/package-info.class
      [jar] Building jar: /home/Makeroid/appinventor/build/components/CommonConstants.jar
      [jar] Building jar: /home/Makeroid/appinventor/build/components/CommonConstants-gwt.jar

HtmlEntities:
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/HtmlEntities
    [javac] Compiling 1 source file to /home/Makeroid/appinventor/components/build/classes/HtmlEntities
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
      [jar] Building jar: /home/Makeroid/appinventor/components/build/HtmlEntities.jar

common_CommonVersion:

init:

CommonVersion:

AndroidRuntime:
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/AndroidRuntime
    [javac] Compiling 316 source files to /home/Makeroid/appinventor/components/build/classes/AndroidRuntime
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/AndroidRuntime/com/google/appinventor/components/runtime/util/package-info.class
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/AndroidRuntime/com/google/appinventor/components/annotations/androidmanifest/package-info.class
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/AndroidRuntime/com/google/appinventor/components/runtime/collect/package-info.class
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/AndroidRuntime/com/google/appinventor/components/annotations/package-info.class
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/AndroidRuntime/com/google/appinventor/components/runtime/package-info.class
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/AndroidRuntime/com/google/appinventor/components/runtime/errors/package-info.class
      [jar] Building jar: /home/Makeroid/appinventor/build/components/AndroidRuntime.jar

components_Barcode:

Barcode:
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/Barcode
    [javac] Compiling 39 source files to /home/Makeroid/appinventor/components/build/classes/Barcode
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
      [jar] Building jar: /home/Makeroid/appinventor/build/components/Barcode.jar

components_ComponentList:

init:

CommonConstants:

ComponentProcessingLib:
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/ComponentProcessingLib
    [javac] Compiling 25 source files to /home/Makeroid/appinventor/components/build/classes/ComponentProcessingLib
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: /home/Makeroid/appinventor/components/src/com/google/appinventor/components/scripts/ComponentProcessor.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 warning
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/ComponentProcessingLib/com/google/appinventor/components/annotations/androidmanifest/package-info.class
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/ComponentProcessingLib/com/google/appinventor/components/annotations/package-info.class
      [jar] Building jar: /home/Makeroid/appinventor/components/build/ComponentProcessingLib.jar

HtmlEntities:

common_CommonUtils:

init:

CommonUtils:

AnnotationProcessors:
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/AnnotationProcessors
    [javac] Compiling 7 source files to /home/Makeroid/appinventor/components/build/classes/AnnotationProcessors
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: /home/Makeroid/appinventor/components/src/com/google/appinventor/components/scripts/ComponentProcessor.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 warning
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/AnnotationProcessors/com/google/appinventor/components/scripts/package-info.class
     [copy] Copying 22 files to /home/Makeroid/appinventor/components/build/classes/AnnotationProcessors
      [jar] Building jar: /home/Makeroid/appinventor/components/build/AnnotationProcessors.jar

common_CommonVersion:

init:

CommonVersion:

AndroidRuntime:
    [javac] Compiling 1 source file to /home/Makeroid/appinventor/components/build/classes/AndroidRuntime
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
      [jar] Building jar: /home/Makeroid/appinventor/build/components/AndroidRuntime.jar

Barcode:

ComponentList:
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/ComponentList
    [javac] Compiling 292 source files to /home/Makeroid/appinventor/components/build/classes/ComponentList
    [javac] warning: No SupportedSourceVersion annotation found on com.google.appinventor.components.scripts.ComponentListGenerator, returning RELEASE_6.
    [javac] warning: Supported source version 'RELEASE_6' from annotation processor 'com.google.appinventor.components.scripts.ComponentListGenerator' less than -source '1.8'
    [javac] Note: Wrote file file:/home/Makeroid/appinventor/components/build/classes/ComponentList/simple_components.txt
    [javac] Note: Wrote file file:/home/Makeroid/appinventor/components/build/classes/ComponentList/simple_components_build_info.json
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 warnings
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/ComponentList/com/google/appinventor/components/runtime/util/package-info.class
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/ComponentList/com/google/appinventor/components/runtime/collect/package-info.class
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/ComponentList/com/google/appinventor/components/runtime/package-info.class
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/ComponentList/com/google/appinventor/components/runtime/errors/package-info.class
     [copy] Copying 1 file to /home/Makeroid/appinventor/build/components
     [copy] Copying 1 file to /home/Makeroid/appinventor/build/components

BuildServer:
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/build/classes/BuildServer
    [javac] Compiling 23 source files to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
    [javac] Creating empty /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/com/google/appinventor/buildserver/package-info.class
     [copy] Copying 16 files to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 1 file to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/files
     [copy] Copying 3 files to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/tools
     [copy] Copying 3 files to /home/Makeroid/appinventor/buildserver/build/classes/BuildServer/tools
      [jar] Building jar: /home/Makeroid/appinventor/buildserver/build/run/lib/BuildServer.jar

init:

CommonConstants:

HtmlEntities:

common_CommonVersion:

init:

CommonVersion:

AndroidRuntime:
    [javac] Compiling 1 source file to /home/Makeroid/appinventor/components/build/classes/AndroidRuntime
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
      [jar] Building jar: /home/Makeroid/appinventor/build/components/AndroidRuntime.jar

ComponentProcessingLib:

common_CommonUtils:

init:

CommonUtils:

AnnotationProcessors:

JsonComponentDescription:
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/JsonComponentDescription
    [javac] Compiling 292 source files to /home/Makeroid/appinventor/components/build/classes/JsonComponentDescription
    [javac] warning: No SupportedSourceVersion annotation found on com.google.appinventor.components.scripts.ComponentDescriptorGenerator, returning RELEASE_6.
    [javac] warning: Supported source version 'RELEASE_6' from annotation processor 'com.google.appinventor.components.scripts.ComponentDescriptorGenerator' less than -source '1.8'
    [javac] 
    [javac] 
    [javac] An annotation processor threw an uncaught exception.
    [javac] Consult the following stack trace for details.
    [javac] java.lang.RuntimeException: Cannot convert Java type 'android.graphics.Bitmap' to Yail type
    [javac] 	at com.google.appinventor.components.scripts.ComponentProcessor.javaTypeToYailType(ComponentProcessor.java:1478)
    [javac] 	at com.google.appinventor.components.scripts.ComponentDescriptorGenerator.outputBlockMethod(ComponentDescriptorGenerator.java:227)
    [javac] 	at com.google.appinventor.components.scripts.ComponentDescriptorGenerator.outputComponent(ComponentDescriptorGenerator.java:127)
    [javac] 	at com.google.appinventor.components.scripts.ComponentDescriptorGenerator.outputResults(ComponentDescriptorGenerator.java:263)
    [javac] 	at com.google.appinventor.components.scripts.ComponentProcessor.process(ComponentProcessor.java:811)
    [javac] 	at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)
    [javac] 	at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)
    [javac] 	at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)
    [javac] 	at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)
    [javac] 	at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)
    [javac] 	at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
    [javac] 	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
    [javac] 	at com.sun.tools.javac.main.Main.compile(Main.java:523)
    [javac] 	at com.sun.tools.javac.main.Main.compile(Main.java:381)
    [javac] 	at com.sun.tools.javac.main.Main.compile(Main.java:370)
    [javac] 	at com.sun.tools.javac.main.Main.compile(Main.java:361)
    [javac] 	at com.sun.tools.javac.Main.compile(Main.java:56)
    [javac] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [javac] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    [javac] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [javac] 	at java.lang.reflect.Method.invoke(Method.java:498)
    [javac] 	at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:58)
    [javac] 	at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1160)
    [javac] 	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:936)
    [javac] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    [javac] 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [javac] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [javac] 	at java.lang.reflect.Method.invoke(Method.java:498)
    [javac] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [javac] 	at org.apache.tools.ant.Task.perform(Task.java:348)
    [javac] 	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    [javac] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    [javac] 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [javac] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [javac] 	at java.lang.reflect.Method.invoke(Method.java:498)
    [javac] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [javac] 	at org.apache.tools.ant.Task.perform(Task.java:348)
    [javac] 	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
    [javac] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    [javac] 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [javac] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [javac] 	at java.lang.reflect.Method.invoke(Method.java:498)
    [javac] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [javac] 	at org.apache.tools.ant.Task.perform(Task.java:348)
    [javac] 	at org.apache.tools.ant.Target.execute(Target.java:435)
    [javac] 	at org.apache.tools.ant.Target.performTasks(Target.java:456)
    [javac] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    [javac] 	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [javac] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    [javac] 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    [javac] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    [javac] 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [javac] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [javac] 	at java.lang.reflect.Method.invoke(Method.java:498)
    [javac] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [javac] 	at org.apache.tools.ant.Task.perform(Task.java:348)
    [javac] 	at org.apache.tools.ant.Target.execute(Target.java:435)
    [javac] 	at org.apache.tools.ant.Target.performTasks(Target.java:456)
    [javac] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    [javac] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
    [javac] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [javac] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    [javac] 	at org.apache.tools.ant.Main.runBuild(Main.java:853)
    [javac] 	at org.apache.tools.ant.Main.startAnt(Main.java:235)
    [javac] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
    [javac] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)

The error log does not show the problem

I edited topic and I added full log.

[javac] An annotation processor threw an uncaught exception.
[javac] Consult the following stack trace for details.
[javac] java.lang.RuntimeException: Cannot convert Java type ‘android.graphics.Bitmap’ to Yail type
[javac] at com.google.appinventor.components.scripts.ComponentProcessor.javaTypeToYailType(ComponentProcessor.java:1478)

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.