Updating the extension without using niotron ide updation site (problem)

I’m trying to make an extension but i found out that i can update the extension from the zip files

I named my extension filetype to thid
Aix.zip

Then i unziped and went to a folder that is named of the package extension, i opened the folder then i see 4 files and 1 folder called files, i opened the folder and i found 3 files
The first is
AndroidRuntime.jar
component_build_info.json
component_build_infos.json

But i named the
component_build_info and component_build_infos
Of the filetype to json.txt

I viewed the text and here is it

Component_build_info =

{"contentProviders":[],"metadata":[],"broadcastReceivers":[],"broadcastReceiver":[],"libraries":[],"services":[],"type":"com.android.custom_PERMISSION.CustomPermission","androidMinSdk":["7"],"activityMetadata":[],"assets":[],"native":[],"permissions":[],"activities":[]}

Component_build_infos =

[{"contentProviders":[],"metadata":[],"broadcastReceivers":[],"broadcastReceiver":[],"libraries":[],"services":[],"type":"com.android.custom_PERMISSION.CustomPermission","androidMinSdk":["7"],"activityMetadata":[],"assets":[],"native":[],"permissions":[],"activities":[]}]

I got suprised about that but i copied the code and inserting some permission on the permission string ("permission":[]) next i made a file by the Note with the code inside, now i did the same thing with the component_build_infos and same permission, after i made the file, i moved it on the same extension folder and named the filetype (txt to json) and since i did everything i put another folder and named the same extension and i put the entire folder with android runtime and other thing to the folder that i created and i compress the folder to a ZIP file but i named the filetype to aix, after i import on the extension and selected the same file, it didnt import, why?

Sorry if i made you read all of them.

Thank you.

Upload the extension here or PM it to me. Then we can figure out why it won’t import into the builder.

TrCustomPermission.aix (4.6 KB)

Here
Just to let you know, i used json genie application because it helps me on adding permission to the json file that i told you earlier.

Did you see what was the problem?

com.android.custom_PERMISSION.aix (4.5 KB)

Try this one.

It acually worked!
So what was the problem? Of the extension that i update it without the updation builder?

You zipped the root folder into another one.

You mean the folder that named
com.android.custom_PERMISSION?

Or the folder that is named the CustomPermission.aix?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.