Skip to Content
author's profile photo Former Member
Former Member

Add new activity in OpenUI for Android project raise error in appcompat_v7.

Hi All

I try to extend OpenUI for Android using SMPAgentryClientFramework-Android-70.10.0.zip projects into Eclipse.

When I add new Blank activity in the AgentryAndroidClientSolution project Eclipse automatically add new project - appcompat_v7 in the workspace and then on build show errors in this project.

Is this feature or bug that Eclipse add new appcompat_v7 project in the my workspace automatically?

Do the appcompat_v7 really have errors in the current version of Eclipse, Android SDK or Java RE or Java SDK?

How can I update or get new correct version of appcompat_v7?

sshot-148.png (114.2 kB)
sshot-149.png (103.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2016 at 03:01 PM

    The errors in the appcompat_v7 are gone only if to set Project Build Target to Android 6.0 for appcompat_v7.

    But I need to build AgentryAndroidClientSolution for Android 4.0.3.


    Looks like Eclipse create appcompat_v7 project that is compatible only with Android 6.0.

    How can I force Eclipse to create objects for Android not higher then Android 4.0.3.

    Add a comment
    10|10000 characters needed characters exceeded

    • Eclipse adds the appcompat_v7 to the project to help provide support for older versions of the OS that may not support all of the features in the latest release. If you are targeting older OS versions appcompat is there to try and make it easier for you.

      It can be turned off or removed as long as you also then make sure to stay within what the OS provides.

      --Bill

  • Posted on Jan 15, 2016 at 03:11 PM

    Hi Konstantin,

    Our first speculation are as follows:

    You said you are using: SMPAgentryClientFramework-Android-70.10.0.zip. This is SMP 3.0 SP10. Based on what we know, the Java version of Eclipse or SMP 3.0 in that SP (SMP 3.0 SP09 or higher) needs to be Java 1.8 or higher (while older SP uses an earlier Java version). This means that most compiled libraries in that release has to adhere to that version. Let us assume Android 6 adheres to that version.

    So if we have to speculate why you are having issues in Android 4.X may be tied to the Eclipse + Java versions of the library. So if you need to make it work then most libraries needs to be older (or from an older SP).

    This is what we can think of (theory). Hope this helps.

    Best Regards,

    SAP Mobile Support Team.

    Add a comment
    10|10000 characters needed characters exceeded

    • Konstantin,

      It is a theory when we stated: SMPAgentryClientFramework-Android-70.10.0.zip. Each time SMP 3.0 releases a version, all the engineering team will try to package their versions into the software package (Download area). So when you are using SMPAgentry 70.10.0.zip this indicates that it is SP10 which is higher than SP08. From what we know, the library versions of what the developers used between those versions changed. So the theory is - does Android 4.X worked with the new compiled versions of the SDK. You already claimed Android 6 worked. So our theory is what if - you use older version of the SMPAgentry Android SDK from an older SP (Service Pack) to work with your Android 4.X?


      For example let us say Android 4.X is popular in (Unveiled on October 19, 2011 - from Wiki).

      Give SAP 6~18 month delivery of support then you have an SP that should have a time stamp of 2012~2013. Now if you go to the software center to download SMP 3.0 SPX patches, what is the closes SMPAgentryClientFramework you have to that date? You have to compare timestamps between SP patches and that version may work. You may also need to check when Ice Cream (Android) was supported in Agentry (what year) - I can't remember (I changed my phones X amount of times from iOS to Android and can't remember which of my phones has what OS 😊)


      Again this is the theory.

      Regards,

      Mark Pe
      SAP Platinum Support Engineer

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.