Jump to content

Stable-Ids question


Recommended Posts

@maxmp,

I encountered a "duplicate key" issue in stable-ids.txt after the recent update to Artic Fox and gradle 7. I cleared the stable-ids.txt file in the knowledge it would repopulate. However, after the recent release of my skin I have had reports of users, unable to apply their backups to restore the skin settings. 

The question is, is there a relationship between the ids in stable-ids.txt and a user exported settings? 

If so this would mean i should never change stable-ids.txt

I hope you can shed some light on this,

Link to comment
Share on other sites

I had this happen to me. My exported PA Settings backup file now appears to contain two individual configurations for the $YAPS$ skin, one of which is applied to build 158 and earlier, and another one that is applied to build 159/160. So I can't use my backup file to restore my customised YAPS settings (saved from 158) to the current YAPS builds.

Andre

Link to comment
Share on other sites

@flyingdutchman yes, ids should be “stable” for preferences to be compatible. I would suggest using that previous stable ids file and manually editing out any possible duplications from it or if any other issues arise. 
I will also try to avoid dependency on stable ids for the next PA builds, if that is possible.

Link to comment
Share on other sites

  • 1 year later...

EDIT: some dependencies are removed, but still stable ids are pretty much required due to the way Android resources works (with well defined ids which we want to have the same value).

Stable ids are still needed for:
- the theme id which is used in skin plugin.xml
- for any skin style or skin attribute referenced from skin plugin.xml

Other resource ids stability is not important and are internal to the skin.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...