Yes
Tell us about the problem
On Android color animations don’t seem to work.
Which platform(s) does your issue occur on?
Android
Please provide the following version numbers that your issue occurs with:
- CLI: 1.6.2
- Cross-platform modules: 1.6.3
- Runtime(s): 1.6.3 (Android)
- Plugin(s): None
Please tell us how to recreate the issue in as much detail as possible.
Recreating the problem is pretty simple—just try to animate the backgroundColor of any view.
<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="loaded">
<StackLayout id="container">
<Label text="hello world" />
</StackLayout>
</Page>
exports.loaded = function(args) {
var page = args.object;
page.getViewById("label").animate({
backgroundColor: "red"
});
};
Here’s the full exception I get:
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.nativescript.foo/com.tns.NativeScriptActivity}: com.tns.NativeScriptException:
Calling js method onCreateView failed
Error: java.lang.NumberFormatException: Invalid int: "null"
java.lang.Integer.invalidInt(Integer.java:138)
java.lang.Integer.parseInt(Integer.java:358)
java.lang.Integer.parseInt(Integer.java:334)
java.lang.Integer.valueOf(Integer.java:525)
com.tns.Platform.callJSMethodNative(Native Method)
com.tns.Platform.dispatchCallJSMethodNative(Platform.java:812)
com.tns.Platform.callJSMethod(Platform.java:711)
com.tns.Platform.callJSMethod(Platform.java:690)
com.tns.Platform.callJSMethod(Platform.java:680)
com.tns.gen.android.app.Fragment_ftns_modules_ui_frame_frame_l34_c42__.onCreateView(android.app.Fragment.java)
android.app.Fragment.performCreateView(Fragment.java:2053)
android.app.FragmentManagerImpl.moveToState(FragmentManager.java:894)
android.app.FragmentManagerImpl.moveToS
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
Yes
Tell us about the problem
On Android color animations don’t seem to work.
Which platform(s) does your issue occur on?
Android
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
Recreating the problem is pretty simple—just try to animate the
backgroundColorof any view.Here’s the full exception I get: