Android-Restaurant-Menu icon indicating copy to clipboard operation
Android-Restaurant-Menu copied to clipboard

Only Menu List Showing

Open jhat060294 opened this issue 8 years ago • 15 comments

Hi Wingie, I imported the file, and run with no error in the code, however in my emulator, only the menu list are showing there's no mainfrag or whatever. In my understanding whenever you click in the menu list other activity will appear in the right side, but in my case I only have the left panel which is the menu list. Hoping for the help guys. thanks

-Jhat.

jhat060294 avatar Jul 11 '16 11:07 jhat060294

May i know what version of android you are running this on? i developed this when ICS was the current version.. maybe you need to look at some deprecated APIs in the code?

Wingie avatar Jul 12 '16 12:07 Wingie

i'm running it on Android Studio 2.1.1. I use API 23 (lollipop). And I don't get any error when i try to run the code but I only have the left panel.

jhat060294 avatar Jul 12 '16 13:07 jhat060294

Wingie I already resolve the issue. But now here's the thing whenever I click on menu the picture doesn't change at all but the text and description change, but the picture (Koala.png) the home picture not changing. A little help, thanks!

jhat060294 avatar Jul 12 '16 15:07 jhat060294

Hey wingie any update regarding with my problem? thanks!

jhat060294 avatar Jul 17 '16 20:07 jhat060294

I actually haven't taken a look at this app in a while... (been a few years.) is there any error in the log? maybe at the click event?

[Wilson Wingston Sharon]

On Mon, Jul 18, 2016 at 12:44 AM, jhat060294 [email protected] wrote:

Hey wingie any update regarding with my problem? thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Wingie/Android-Restaurant-Menu/issues/2#issuecomment-233202970, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIj5HW1U8A0WUFa_x_PPKLG3v_GqNdwks5qWpREgaJpZM4JJSOX .

Wingie avatar Jul 18 '16 04:07 Wingie

I don't have any error but the thing is the image is not changing.

jhat060294 avatar Jul 18 '16 05:07 jhat060294

Hi Wingie, When run, than this error in code

Error:(17, -1) android-apt-compiler: [Android-Restaurant-Menu-experiment] D:\Android-Restaurant-Menu-experiment\res\layout\main_activity.xml:17: error: No resource identifier found for attribute 'footerColor' in package 'com.example.testtab'

I am running it on Android Studio 1.5.1. I use API 23

j p gupta

jpgupta99 avatar Jul 22 '16 12:07 jpgupta99

Hi Jp Gupta,

That is my first problem but I solve it by tracing it, also I think you need to update your android to work it out properly. Update me if it work properly.

regards, Jhat

jhat060294 avatar Jul 22 '16 15:07 jhat060294

Hi Jhat Now i am using Android 2.1.2.

Error:(3, 0) Gradle DSL method not found: 'android()' Possible causes:

  • The project 'Android-Restaurant-Menu-experiment' may be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0). Fix plugin version and sync project
  • The project 'Android-Restaurant-Menu-experiment' may be using a version of Gradle that does not contain the method. Open Gradle wrapper file
  • The build file may be missing a Gradle plugin. Apply Gradle plugin
  • Thanks in advance

    JP Gupta

jpgupta99 avatar Jul 28 '16 11:07 jpgupta99

@jpgupta99 @Wingie Hi to both of you I just have question if you encounter this one. The said app run totally in my android studio, in my emulator in run perfectly but in real device its not work perfectly. Refer to the attach image.

Run in Emulator: correctpng

Run in Real Device: error

jhat060294 avatar Aug 09 '16 05:08 jhat060294

Hi,

That the project was developed before gradle was a thing. 4 years is a long time in android development and this has not been updated with any of the API changes. looking at the manifest file you can you guys try with 4.0.3?

Wingie avatar Aug 09 '16 06:08 Wingie

@Wingie what do you mean by that? what do i need to change? thanks!

jhat060294 avatar Aug 09 '16 06:08 jhat060294

This project was developed on API level 15. the real device - which version of android is it?

Wingie avatar Aug 09 '16 06:08 Wingie

I run it at API 23, and I already change the min and target sdk up to the latest. Just like what I attach it run perfectly in emulator but not on real device.

jhat060294 avatar Aug 09 '16 06:08 jhat060294

hi

i am using Android 2.1.2.

Error:(17, -1) android-apt-compiler: [Android-Restaurant-Menu-experiment] D:\AndroidStudioProjects\Android-Restaurant-Menu-experiment\res\layout\main_activity.xml:17: error: No resource identifier found for attribute 'footerColor' in package 'com.example.testtab'

jpgupta99 avatar Aug 09 '16 09:08 jpgupta99