Android get Google Play Store app version

前端 未结 8 1632
渐次进展
渐次进展 2021-02-06 11:49

I am using this code to get the Google Play Store app version but this is causing my app to hang. Please specify another way to get the app version or how I can use this code to

8条回答
  •  误落风尘
    2021-02-06 12:27

    Just replace your code

    .get()
    .select("div[itemprop=softwareVersion]")
    .first()
    .ownText();
    
                        
    

    with below:

    .get()
    .select(".hAyfc .htlgb")
    .get(3)
    .ownText();
    

    it will work..!

提交回复
热议问题