Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tns-core-modules 1.7.0 in OnCreate not found Dex Class Loader? #391

Closed
enchev opened this issue Mar 17, 2016 · 3 comments
Closed

tns-core-modules 1.7.0 in OnCreate not found Dex Class Loader? #391

enchev opened this issue Mar 17, 2016 · 3 comments
Labels

Comments

@enchev
Copy link

enchev commented Mar 17, 2016

From @katturajam on March 17, 2016 9:36

Hi Team,
We have imported around 16 plugins in our project. i tried in 1.7.0 . I have added two line in build.gradle.

Its working in 1.6.2 but in 1.7.0 OnCreate function not found raised during runtime.

android {
    defaultConfig {
        //Multi Dex enable
        multiDexEnabled true
    }
}
dependencies {
           //added multi dex library
           compile 'com.android.support:multidex:1.0.1'
}

I found this link NativeScript/nativescript-cli#1542 but there is no clarity where i can write onCreate in NativeScript Project.

Currently I am using Nativescritp Cli app structure in Netbeans IDE.

Let me know where i want to write onCreate function in NativeSript project using JS/TS.

onCreate_Failed.txt

Copied from original issue: NativeScript/NativeScript#1785

@NathanaelA

This comment was marked as abuse.

@slavchev
Copy link

Hi @katturajam

Can you provide more info because I am not sure whether I understand the problem correctly?

As far as I can read your log the problem is

TypeError: this.page.frame._getNavBarVisible is not a function
File: "/data/data/com.smarpsocial.smarpshare/files/app/tns_modules/ui/action-bar/action-bar.js, line: 143, column: 49

which is not related to the dex compiler or class loading process.

@Plamen5kov Plamen5kov added the bug label Apr 6, 2016
@petekanev
Copy link
Contributor

Closing stale issue. Please try updating Nativescript and see if that fixes the issue for you. If you have any questions or problems feel free to open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants