Yahya
Posts: 0
Joined: Tue Nov 11, 2014 1:08 pm

Upgrade external resource to v3.0

Good day,

When upgrade from v2.3 to 3.0, with jqm APP, I found that all CSS I made are not working and not reflecting to the page components. Also the below code is keep showing "loading ..place wait" and not reading xml file.

function searchtxt(s) {
showSpinner({
text: 'loading ..place wait',
textVisible: true,
theme: 'f'
});
var result = '';
var counter = 0;
var finaltxt = '';
var n = -1;
var txt="";
var total = 0;
var suraidx;
var ayasound;
var surasound;
var soundfile;
$.get('quran-simple-clean.xml', function(d) {
$(d).find("sura").each(function(i) {
var $sura = $(this);
suraidx = '';
suraidx = $(this).attr("index");
var sname = $(this).attr("name");
var $aya = $(this).find("aya").each(function() {
var ayanum = $(this).attr("index");
var theaya = $(this).attr("text");
n = theaya.search(s);
if (n = 0) {
txt += "";
var rgxp = new RegExp(s, "g");
counter = theaya.match(rgxp).length;
total += counter;
finaltxt = theaya.replace(new RegExp(s, "g"), "span" + s + "/span");
if (ayanum.length == 1) {
ayasound = "00" + ayanum;
} else if (ayanum.length == 2) {
ayasound = "0" + ayanum;
} else {
ayasound = ayanum;
}
if (suraidx.length == 1) {
surasound = "00" + suraidx;
} else if (suraidx.length == 2) {
surasound = "0" + suraidx;
} else {
surasound = suraidx;
}
soundfile = surasound + ayasound + ".mp3";
var ayahead="الأية - ";
txt += ""+ayahead+"span"+convertDigitIn(ayanum.toString())+"/span";
txt+= "";
txt+= "a class="goToSuraFromSearchBtn" href="http://" rel="nofollow""+sname+"";
txt+= "";

Code: Select all

                 txt += "" + finaltxt + ""; 
                 txt += ""; 
                 // Buttons  

                 txt += ""; 
                 //txt += "أخرى";                     

                 txt += " مشاركة "; 
                 //txt += " مؤقت ";  
                 txt += " قراءة ";  
                 //txt += " سماع ";  
                 txt += " تحميل "; 

                 txt += ""; 

                 // End of buttons 

                 txt += ""; 

             } 
         }); 
     }); 

     var countdiv = "نتائج البحث : "+convertDigitIn(total.toString())+""; 
     $(".result").html(countdiv + txt); 
     $(".result").trigger("create"); 
     hideSpinner(); 

 }); 

}
/a

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Upgrade external resource to v3.0

Hello,

You are right. New version of libraries has another file structure, so some CSS/JS could not work.
Please check if there are any errors in the browser console. You can learn here: https://devcenter.appery.io/documenta... how to open the console.

Yahya
Posts: 0
Joined: Tue Nov 11, 2014 1:08 pm

Upgrade external resource to v3.0

Thank you for your support, but I got another error when try to build the APP Please look into the below error message :

/srv/tiggzi/jenkins/workspace/342338-android/63124/342338/android/quranDownload/build/intermediates/manifests/full/release/AndroidManifest.xml:58: error: Error: No resource found that matches the given name (at 'label' with value '@string/activity_name').

/srv/tiggzi/jenkins/workspace/342338-android/63124/342338/android/quranDownload/build/intermediates/manifests/full/release/AndroidManifest.xml:65: error: Error: No resource found that matches the given name (at 'label' with value '@string/launcher_name').

FAILED

FAILURE: Build failed with an exception.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Upgrade external resource to v3.0

Could you clarify have you changed anything on the Source tab?

If you did, these custom changes might cause the build to fail. Try to rollback the custom source changes and try to build the app again. Here is how to rollback custom source change: http://devcenter.appery.io/tutorials/....

When you make changes in the Source view for a particular page, the visual editor for that page will not be updated (until you rollback the changes). You can learn more here: http://devcenter.appery.io/tutorials/...

Yahya
Posts: 0
Joined: Tue Nov 11, 2014 1:08 pm

Upgrade external resource to v3.0

No I did not change anything in the source tab.
I am getting this error :
No resource found that matches the given name (at 'label' with value '@string/activity_name').

Yahya
Posts: 0
Joined: Tue Nov 11, 2014 1:08 pm

Upgrade external resource to v3.0

I still having the below errors when I try to build the APK file your support is highly appreciated.

/srv/tiggzi/jenkins/workspace/342338-android/63124/342338/android/quranDownload/build/intermediates/manifests/full/release/AndroidManifest.xml:53: error: Error: No resource found that matches the given name (at 'label' with value '@string/quranDownload').

/srv/tiggzi/jenkins/workspace/342338-android/63124/342338/android/quranDownload/build/intermediates/manifests/full/release/AndroidManifest.xml:58: error: Error: No resource found that matches the given name (at 'label' with value '@string/activity_name').

/srv/tiggzi/jenkins/workspace/342338-android/63124/342338/android/quranDownload/build/intermediates/manifests/full/release/AndroidManifest.xml:65: error: Error: No resource found that matches the given name (at 'label' with value '@string/launcher_name').

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Upgrade external resource to v3.0

Please share (http://devcenter.appery.io/documentat...) your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and provide us it's name

Yahya
Posts: 0
Joined: Tue Nov 11, 2014 1:08 pm

Upgrade external resource to v3.0

Done, The App Name is quranDownload

Yahya
Posts: 0
Joined: Tue Nov 11, 2014 1:08 pm

Upgrade external resource to v3.0

Good day,

Is there any hope that my issue will be solved.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Upgrade external resource to v3.0

Please delete edited (blue colored) files on Source tab and click Undo all source changes on folder with edited files.

Please note that functionality added via Source tab will be lost and you would need to edit source files again in order to add it back, thus we would recommend that you save project backup before that.

[Here] (http://devcenter.appery.io/tutorials/...) is more information about Source files editing.

Return to “Issues”