I transfered my project from thunkable.Removed Cloudinary and tryed build apk.When ı open app and click screen its force close
here logs
[22:07, 3.10.2017] +90 538 984 08 05: ava.lang.ClassCastException: android.graphics.drawable.BitmapDrawable cannot be cast to android.graphics.drawable.RippleDrawable
at com.google.appinventor.components.runtime.ButtonBase.onTouch(ButtonBase.java:195)
at android.view.View.dispatchTouchEvent(View.java:10024)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at com.google.appinventor.components.runtime.ScaledFrameLayout.dispatchTouchEvent(ScaledFrameLayout.java:84)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:413)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1808)
at android.app.Activity.dispatchTouchEvent(Activity.java:3125)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:375)
at android.view.View.dispatchPointerEvent(View.java:10248)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4511)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4379)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3921)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3974)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3940)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4067)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3948)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4124)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3921)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3974)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3940)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3948)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3921)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6326)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6300)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6261)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6429)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:187)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:323)
at android.os.Looper.loop(Looper.java:139)
at android.app.ActivityThread.main(ActivityThread.java:6252)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:895)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:785)
There was a problem in the code with buttons that uses images.
I have changed now something in the code and it works for me now.
It should be for all available in the next update.
I can now do nothing, we have to wait for the qr code close screen fix from @vishwasadiga and then @Diego can make the update.
New update come.But my problems not fixed.Cant close QR code screen (Using latest Firefox).Companion page not updated.Its say companion version is 2.0 not 2.1.1.When testing my app its ask me update companion.When i select ok its get server error.
when ı testing my app functions its force close here another error log
java.lang.ClassCastException: android.graphics.drawable.TransitionDrawable cannot be cast to android.graphics.drawable.RippleDrawable
at com.google.appinventor.components.runtime.ButtonBase.onTouch(ButtonBase.java:195)
at android.view.View.dispatchTouchEvent(View.java:10024)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at com.google.appinventor.components.runtime.ScaledFrameLayout.dispatchTouchEvent(ScaledFrameLayout.java:84)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2634)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2264)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:413)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1808)
at android.app.Activity.dispatchTouchEvent(Activity.java:3125)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:375)
at android.view.View.dispatchPointerEvent(View.java:10248)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4511)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4379)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3921)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3974)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3940)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4067)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3948)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4124)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3921)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3974)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3940)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3948)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3921)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6326)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6300)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6261)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6429)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:187)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:323)
at android.os.Looper.loop(Looper.java:139)
at android.app.ActivityThread.main(ActivityThread.java:6252)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:895)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:785)
Click 60SN button its color is green(best for test) and select one category on screen1 and start playing game.Just click a b c d and when 5.question come try click one of the answers Its force close.If you click 2x time same button its force close.On the first click button height changed and 2. click makes a bug
For bottom buttons
There is two layout item.Heights is 7 ,6 percent.And for buttons heights it already setted automatic.I will redesing them its not problem.I can do it later.I need fix force close erros
Edıt:
I m testing my app now with makeroid app.Its give me this error
I user pavi free IAP extension ı think if ı switch to makeroid default billing component its fix this problem
Runtime Error
Attempt to invoke interface method ‘int com.android.vending.billing.IInAppBillingService.isBillingSupportedExtraParams(int, java.lang.String, java.lang.String, android.os.Bundle)’ on a null object reference Note: You will not see another error reported for 5 seconds.
I will try.I found why some images are white.I use none for background color for buttons.And ıts makes white color.Is it possible add transparent option to color picker? Its fixes my white buttons or ı need set background color to transparent or another color on screenintialize event.
When i sets layouts to automatic its fix problem
I m currenlty trying fix problem another error log
I think its happen when switched screen
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:851)
at java.util.HashMap$KeyIterator.next(HashMap.java:885)
at com.google.appinventor.components.runtime.EventDispatcher.delegateDispatchEvent(EventDispatcher.java:219)
at com.google.appinventor.components.runtime.EventDispatcher.dispatchEvent(EventDispatcher.java:198)
at com.google.appinventor.components.runtime.Button.Click(Button.java:51)
at com.google.appinventor.components.runtime.Button.click(Button.java:43)
at com.google.appinventor.components.runtime.ButtonBase.onClick(ButtonBase.java:785)
at android.view.View.performClick(View.java:5639)
at android.view.View$PerformClick.run(View.java:22446)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:160)
at android.app.ActivityThread.main(ActivityThread.java:6252)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:895)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:785)
First image makeroid output.When ı click it its restored that ı wanted(I use animationextension for animations maybe its change it to app inventor style).If i click it again its force close
I cant fill layout backgrounds you can see green and red bars.I dont want empty spaces.And for other buttons like 3 bottom buttons ı dont want space.
Button shape operation broke button widht height.I use rounded on my screen1 bottom buttons.I need disable them for fix widhts.Again unable fill spaces.
I found metarial icons option.Its good idea use it on my app but when i use it its too small.When i want make its bigger some of area of the icon invisible.