android-training-2017 icon indicating copy to clipboard operation
android-training-2017 copied to clipboard

HW 12.10.2017 - I'm needing help

Open alexvishneuski opened this issue 7 years ago • 5 comments

Сan someone help me with my homework? I made very simple example, but the data has been saved only through html page, when I try to save through app I get message on the screen. The application also works only until the place specified in the photo. My current branch is called "feature_simple": https://github.com/alexvishneuski/CustomerBackend/tree/feature_simple

errormessage stop app path

alexvishneuski avatar Oct 19 '17 14:10 alexvishneuski

please provide logs. (filter log by 'Error' log type and type 'fatal'

ilya-shknaj avatar Oct 22 '17 18:10 ilya-shknaj

I hope I've done this case. There is the link on compare:

https://github.com/alexvishneuski/CustomerBackend/compare/42b62302e779595e84184b5047c31000177bef13...c4b5ac9bcb8a16ee89b18212384a9234ade13388

Basically I've reworked everything and the main changes are in the last two commits. I've to apply in project as in Endpoint embedded apimethods as direct http requests (GET and PUT.) For this goals my app's activity has 4 buttons. There is the link on remote backend (only post method) https://customerbackend-183423.appspot.com I think that the problem wasn't in the app but in the emulator. Sometimes and very often I get this message (when crashing the application):

10-23 01:04:56.770 2355-2355/com.github.alexvishneuski.customerbackend W/EGL_genymotion: eglSurfaceAttrib not implemented

But I didn't understand how to repair it.

alexvishneuski avatar Oct 23 '17 02:10 alexvishneuski

When I jast start my app on localhost I get this error:

10-23 02:35:11.214 24312-24312/com.github.alexvishneuski.customerbackend E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering

Also when I try to work on localhost i get such errors (attached file errors.txt ):

alexvishneuski avatar Oct 23 '17 03:10 alexvishneuski

Did you try to use Android Emulator in the android studio? It seems as Genymotion use another ip or port for localhost (maybe 10.0.2.3)

YauheniMeshkin avatar Oct 25 '17 19:10 YauheniMeshkin

I'm sorry for the late answer. Yes, of course, I did it, but in this case the built-in emulator does not start or runs very slowly. As I understood, the reason for this is AMD proc.

alexvishneuski avatar Oct 28 '17 05:10 alexvishneuski