Giter Site home page Giter Site logo

Comments (18)

trinadhkoya avatar trinadhkoya commented on June 21, 2024

You can include ,values folders inside your project instead lib.that might help you

from sdp.

elhanan-mishraky avatar elhanan-mishraky commented on June 21, 2024

Did you add ssp or only sdp?
To add also ssp, please use:
dependencies {
compile 'com.intuit.ssp:ssp-android:1.0.4'
}

from sdp.

hmittal1 avatar hmittal1 commented on June 21, 2024

Yah. I missed the point of separate lib for non text and text views. Thanks !!

from sdp.

hmittal1 avatar hmittal1 commented on June 21, 2024

I got one more crash in textview. It is again 7.0 device moto G5 Plus.
Binary XML file line #36: Binary XML file line #36: Error inflating class TextView.
Code:

Already include compile 'com.intuit.ssp:ssp-android:1.0.4' line in code.

from sdp.

hmittal1 avatar hmittal1 commented on June 21, 2024

Code:
TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:textColor="@color/app_text_color"
android:text="@string/verify_phone_number_reason_message"
android:id="@+id/textView4"
android:textSize="@dimen/_12ssp"

from sdp.

trinadhkoya avatar trinadhkoya commented on June 21, 2024

I don't think so it was because of ssp !! May be binding error I guess !!

from sdp.

elhanan-mishraky avatar elhanan-mishraky commented on June 21, 2024

Can you try rebuilding the project? I just tried a similar code on android 7.0 emulator and it worked well.

from sdp.

hmittal1 avatar hmittal1 commented on June 21, 2024

This is not an always. Crash is happening on few android 7.0 devices ( mainly on moto G). Even I also tested it for nexus and pixal and samsung device, it is working fine. Do you know why it is not working for few devices ?

from sdp.

elhanan-mishraky avatar elhanan-mishraky commented on June 21, 2024

Is it possible that you will try to fix it and send back a pull request?
I have only few devices and no moto G...
If it's not possible please send the list of devices with the issue and I will buy one.

from sdp.

hmittal1 avatar hmittal1 commented on June 21, 2024

Yah , i am working on this issue. Today i found that this could be because of memory leak mentioned on this stackoverflow page : http://stackoverflow.com/questions/4512981/android-view-inflateexception-binary-xml-file-line-12-error-inflating-class.
I am also working on fixing memory leak issues and let you if i face this crash again.

from sdp.

selvam75 avatar selvam75 commented on June 21, 2024

Please update your textview xml tag here, this will help to fix the inflate issue. @hmittal1

from sdp.

elhanan-mishraky avatar elhanan-mishraky commented on June 21, 2024

Seems like it doesn't relate to sdp, please let me know if I'm wrong.

from sdp.

vankhoa01 avatar vankhoa01 commented on June 21, 2024

Hi,

I get this issue too on Android 7 when user use split-screen mode
I think you should create new dimens folder for split-screen mode

How do you think about that @elhanan-mishraky ?

Thanks a lot

from sdp.

elhanan-mishraky avatar elhanan-mishraky commented on June 21, 2024

@vankhoa01 is it possible that you will create a pull request with the required fix?

from sdp.

vankhoa01 avatar vankhoa01 commented on June 21, 2024

I just duplicate values-sw300dp and named is values for fixing.
But I think it's not good solution

Could you give me some hint for this case ?

from sdp.

elhanan-mishraky avatar elhanan-mishraky commented on June 21, 2024

@vankhoa01 I will try to fix it this week.

from sdp.

vankhoa01 avatar vankhoa01 commented on June 21, 2024

Great

from sdp.

elhanan-mishraky avatar elhanan-mishraky commented on June 21, 2024

@vankhoa01 the fix is published, please use 1.0.5 and let me know if it goes well :)

from sdp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.