Invalid incremental change record with Android Studio's Instant Run -


when building app error:

error:execution failed task ':app:transformclasses_enhancedwithinstant+reloaddexfordebug'. java.io.ioexception: invalid incremental change record : changed,c:\users\gingo\documents\dropbox (skoumal, s.r.o.)\work\myproject\myproject\app\build\intermediates\transforms\instantrun\debug\folders\4000\5\enhanced\com\android\tools\fd\runtime\apppatchesloaderimpl.class 

the way rid of build -> rebuild project.

the culprit , (comma) in project path. remove , go.

let me explain little bit deeply. reason found in changerecords.java file. in method load(file file) parses change records file , uses , (comma) divider line-fields. see whole code of method:

/**  * load change records persisted file.  */ @nonnull static changerecords load(file file) throws ioexception {     changerecords changerecords = new changerecords();     list<string> rawrecords = files.readlines(file, charsets.utf_8);     (string rawrecord : rawrecords) {         stringtokenizer st = new stringtokenizer(rawrecord, ",");         if (st.counttokens() != 2) {             throw new ioexception("invalid incremental change record : " + rawrecord);         }         changerecords.add(status.valueof(st.nexttoken()), st.nexttoken());     }     return changerecords; } 

Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -