Page 1 of 1

Upgrade external resource to v3.0

Posted: Wed Feb 10, 2016 6:25 pm
by Yahya

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


Upgrade external resource to v3.0

Posted: Wed Feb 10, 2016 9:39 pm
by Serhii Kulibaba

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.


Upgrade external resource to v3.0

Posted: Thu Feb 11, 2016 7:27 am
by Yahya

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.


Upgrade external resource to v3.0

Posted: Thu Feb 11, 2016 4:48 pm
by Serhii Kulibaba

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/...


Upgrade external resource to v3.0

Posted: Thu Feb 11, 2016 8:33 pm
by Yahya

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').


Upgrade external resource to v3.0

Posted: Thu Feb 11, 2016 9:32 pm
by Yahya

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').


Upgrade external resource to v3.0

Posted: Fri Feb 12, 2016 6:03 pm
by Serhii Kulibaba

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


Upgrade external resource to v3.0

Posted: Fri Feb 12, 2016 10:08 pm
by Yahya

Done, The App Name is quranDownload


Upgrade external resource to v3.0

Posted: Mon Feb 15, 2016 10:43 am
by Yahya

Good day,

Is there any hope that my issue will be solved.


Upgrade external resource to v3.0

Posted: Tue Feb 16, 2016 11:18 am
by Serhii Kulibaba

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.