You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to update my tns-platform-declarations to use the latest android sdk.
I've generated the definitions for the respective sdks and replaced the include in tns-platform-declarations/android/android.d.ts to use the generated file (currently android23.d.ts).
Problem is I now get - among others, including a lot of duplicate identifiers - a million error TS2503: Cannot find namespace 'native'., which tells me not everything has been extracted. Where do I go from here? The sdk declaration files have wildly differing sizes:
I've looked into generate.win.bat and created an equivalent for Linux (you'll find some extra needed jars there), copied the android.d.ts from output/android-24 into the respective tns-platform-declarations folder, getting a lot less errors, now its mainly these two:
Namespace 'android' has no exported member 'content'.
Namespace 'android' has no exported member 'view'.
but org.nativescript.widgets.d.ts throws another bunch.
Edit: the extra jars aren't on my system. No error was thrown however.
I'm trying to update my tns-platform-declarations to use the latest android sdk.
I've generated the definitions for the respective sdks and replaced the include in
tns-platform-declarations/android/android.d.ts
to use the generated file (currently android23.d.ts).Problem is I now get - among others, including a lot of duplicate identifiers - a million
error TS2503: Cannot find namespace 'native'.
, which tells me not everything has been extracted. Where do I go from here? The sdk declaration files have wildly differing sizes:Which tells me I'm probably doing something wrong.
Do I have to include anything else?
The text was updated successfully, but these errors were encountered: