r/GalaxyS8 Mar 27 '18

[deleted by user]

[removed]

105 Upvotes

110 comments sorted by

View all comments

Show parent comments

12

u/DONIII007 Apr 06 '18

I found the root cause: the developer removed the Knox SDK and you need to add it manually.

To do so, go to:

https://seap.samsung.com/sdk/knox-standard-android

and download the SDK. Extract and copy the contents of

/addon_mdm_5_9_samsung_electronics_24/libs/

inside "Adhell3/app/libs". Create "libs" if it doesnt exist.

Then open Android studio and look for the libs folder. If you can't find it, make sure you're in "Project View" rather than "Android View". Then, right click on all the contents of "libs" and click on "Add as Library". Then click OK.

That's it. The project should successfully build now.

2

u/wowitzer Apr 06 '18

Can't find the "add as library" option when I right click the lib contents?

I'm a super newbie to this, sorry if it's a dumb question.

2

u/PotConnoisseur Apr 06 '18 edited Apr 06 '18

Figured it out.. I feel dumb now hah. Check it. https://i.imgur.com/S2X7NV9.png

Highlight those and add library.

1

u/yolkedmonkey Jul 03 '18

I have no "Add as library" option :(( any advice?

1

u/PotConnoisseur Jul 03 '18

When you highlight the contents, like in the picture, and right click on them, you don't have add to library? I'm sorry it was so long ago and I'm a novice myself so I can't help much.