Skip to content

Nativescript Error: java.lang.VerifyError on android plugin #16

@baromir

Description

@baromir

I am creating a plugin for android from SKMaps library http://developer.skobbler.com/getting-started/android, but only get the following error in all classes during tns build android:

isMetadataGenerationNecessary
:buildMetadata

Skip com.skobbler.ngx.SKCategories$SKPOICategory
Error: java.lang.VerifyError: Expecting a stackmap frame at branch target 36
Exception Details:
Location:
com/skobbler/ngx/SKCategories$SKPOICategory.forInt(I)Lcom/skobbler/ngx/SKCategories$SKPOICategory;@11: if_icmpge
Reason:
Expected stackmap frame at this location.
Bytecode:
0x0000000: b802 2f59 4cbe 3d03 3e1d 1ca2 0019 2b1d
0x0000010: 3259 3a04 b402 2b1a a000 0619 04b0 8403
0x0000020: 01a7 ffe8 b202 21b0

This is my plugin include.grade

screen shot 2015-12-21 at 7 24 37 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions